Commit 842fe93b authored by unknown's avatar unknown

Merge moksha.local:/Users/davi/mysql/push/mysql-5.1-runtime

into  moksha.local:/Users/davi/mysql/push/bugs/21136-regression

parents ee7f61ab 1241a9da
...@@ -3653,7 +3653,8 @@ bool select_create::send_eof() ...@@ -3653,7 +3653,8 @@ bool select_create::send_eof()
if (m_plock) if (m_plock)
{ {
mysql_unlock_tables(thd, *m_plock); mysql_unlock_tables(thd, *m_plock);
m_plock= 0; *m_plock= NULL;
m_plock= NULL;
} }
} }
return tmp; return tmp;
...@@ -3691,7 +3692,8 @@ void select_create::abort() ...@@ -3691,7 +3692,8 @@ void select_create::abort()
if (m_plock) if (m_plock)
{ {
mysql_unlock_tables(thd, *m_plock); mysql_unlock_tables(thd, *m_plock);
m_plock= 0; *m_plock= NULL;
m_plock= NULL;
} }
if (table) if (table)
......
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