Browse Source

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

pull/374/head
unknown 14 years ago
parent
commit
5e7b949e61
  1. 2
      sql/lock.cc

2
sql/lock.cc

@ -331,7 +331,7 @@ end:
mysql_unlock_tables(thd, sql_lock, 0);
rc= 1;
}
else if (rc)
else if (rc > 1)
my_error(rc, MYF(0));
thd->set_time_after_lock();

Loading…
Cancel
Save