Commit dd16ad4e authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -3124,12 +3124,17 @@ row_search_for_mysql(
		be zero; in that case select_lock_type is set to LOCK_X in
		::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(
"InnoDB: Error: MySQL is trying to perform a SELECT\n"
"InnoDB: but it has not locked any tables in ::external_lock()!\n",
                      stderr);
		trx_print(stderr, trx, 600);
                fputc('\n', stderr);
*/

	}

/*	fprintf(stderr, "Match mode %lu\n search tuple ", (ulong) match_mode);