Commit 5e7b949e authored by unknown's avatar unknown

Fix crash due to wrong my_error() call (5.5 after-merge fix).

parent cff0175d
...@@ -331,7 +331,7 @@ end: ...@@ -331,7 +331,7 @@ end:
mysql_unlock_tables(thd, sql_lock, 0); mysql_unlock_tables(thd, sql_lock, 0);
rc= 1; rc= 1;
} }
else if (rc) else if (rc > 1)
my_error(rc, MYF(0)); my_error(rc, MYF(0));
thd->set_time_after_lock(); thd->set_time_after_lock();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment