1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Merge mysql.com:/my/mysql-4.1 into mysql.com:/my/mysql-5.0

This commit is contained in:
monty@mysql.com
2003-12-21 19:43:23 +02:00
13 changed files with 59 additions and 35 deletions

View File

@@ -888,7 +888,7 @@ bool mysql_stmt_prepare(THD *thd, char *packet, uint packet_length)
{
LEX *lex;
Prepared_statement *stmt= new Prepared_statement(thd);
SELECT_LEX *sl;
DBUG_ENTER("mysql_stmt_prepare");
if (stmt == 0)
@@ -919,7 +919,7 @@ bool mysql_stmt_prepare(THD *thd, char *packet, uint packet_length)
my_pthread_setprio(pthread_self(),WAIT_PRIOR);
// save WHERE clause pointers to avoid damaging they by optimisation
for (SELECT_LEX *sl= thd->lex->all_selects_list;
for (sl= thd->lex->all_selects_list;
sl;
sl= sl->next_select_in_list())
{