summaryrefslogtreecommitdiff
path: root/sql/sql_base.cc
diff options
context:
space:
mode:
authormikael@c-0409e253.1238-1-64736c10.cust.bredbandsbolaget.se <>2006-06-12 17:41:05 -0400
committermikael@c-0409e253.1238-1-64736c10.cust.bredbandsbolaget.se <>2006-06-12 17:41:05 -0400
commit44076b96a11ab4ca32631bea3a14bd1b8743e34f (patch)
treea0b9a43a413eac584552b1ca4165f411c350eb3f /sql/sql_base.cc
parentfaa2f09107a79195fb74e35c978f6e5b8be46c4a (diff)
parent92dec44ef9c69041e8eb8d0350b2c286b5a80d7e (diff)
downloadmariadb-git-44076b96a11ab4ca32631bea3a14bd1b8743e34f.tar.gz
Merge c-0409e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/clean-mysql-5.1
into c-0409e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug19122
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r--sql/sql_base.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index 2298de7eeb5..9b7d46119b7 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -2686,7 +2686,7 @@ retry:
goto err;
// Code below is for repairing a crashed file
- if ((error= lock_table_name(thd, table_list)))
+ if ((error= lock_table_name(thd, table_list, TRUE)))
{
if (error < 0)
goto err;