summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorheikki@hundin.mysql.fi <>2005-08-19 11:33:11 +0300
committerheikki@hundin.mysql.fi <>2005-08-19 11:33:11 +0300
commit6b32f5a1e933bbe7685843255b01786a87452897 (patch)
tree947d5c7a02a310f631b1da94cfb7c45f642ba83b /innobase
parenta5ecf5f4b19cff3939a77ea7b2b6960d10509fe2 (diff)
downloadmariadb-git-6b32f5a1e933bbe7685843255b01786a87452897.tar.gz
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)
Diffstat (limited to 'innobase')
-rw-r--r--innobase/row/row0sel.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/innobase/row/row0sel.c b/innobase/row/row0sel.c
index 7328db1c65d..a77010d939b 100644
--- a/innobase/row/row0sel.c
+++ b/innobase/row/row0sel.c
@@ -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);