Commit dd16ad4e authored by unknown's avatar unknown

row0sel.c:

  Temporarily remove error print if MySQL tries to do a SELECT even though trx->n_mysql_tables_in_use is 0. We must return the error print when the lock count of cursors is properly implemented (Bug #12456)


innobase/row/row0sel.c:
  Temporarily remove error print if MySQL tries to do a SELECT even though trx->n_mysql_tables_in_use is 0. We must return the error print when the lock count of cursors is properly implemented (Bug #12456)
parent 429e0abb
...@@ -3124,12 +3124,17 @@ row_search_for_mysql( ...@@ -3124,12 +3124,17 @@ row_search_for_mysql(
be zero; in that case select_lock_type is set to LOCK_X in be zero; in that case select_lock_type is set to LOCK_X in
::start_stmt. */ ::start_stmt. */
/* August 19, 2005 by Heikki: temporarily disable this error print until the
cursor lock count is done correctly. See bugs #12263 and #12456!
fputs( fputs(
"InnoDB: Error: MySQL is trying to perform a SELECT\n" "InnoDB: Error: MySQL is trying to perform a SELECT\n"
"InnoDB: but it has not locked any tables in ::external_lock()!\n", "InnoDB: but it has not locked any tables in ::external_lock()!\n",
stderr); stderr);
trx_print(stderr, trx, 600); trx_print(stderr, trx, 600);
fputc('\n', stderr); fputc('\n', stderr);
*/
} }
/* fprintf(stderr, "Match mode %lu\n search tuple ", (ulong) match_mode); /* fprintf(stderr, "Match mode %lu\n search tuple ", (ulong) match_mode);
......
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