summaryrefslogtreecommitdiff
path: root/sql/lock.cc
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-01-29 18:32:16 +0200
committermonty@hundin.mysql.fi <>2002-01-29 18:32:16 +0200
commitbe46289855f01c0d563671beb5135c22b7bad2aa (patch)
treedc6d00358536a5dca27f806f929ab5e25a000c92 /sql/lock.cc
parente2a5c3e4cd331d9addc2342549e2c47ac7e9cb7a (diff)
downloadmariadb-git-be46289855f01c0d563671beb5135c22b7bad2aa.tar.gz
New error messages
Test of unsigned BIGINT values Fixes for queries-per-hour Cleanup of replication code (comments and portability fixes) Make most of the binary log code 4G clean Changed syntax for GRANT ... QUERIES PER HOUR
Diffstat (limited to 'sql/lock.cc')
-rw-r--r--sql/lock.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/sql/lock.cc b/sql/lock.cc
index 9f4f23b01e3..5d2856278b6 100644
--- a/sql/lock.cc
+++ b/sql/lock.cc
@@ -431,10 +431,11 @@ int lock_table_name(THD *thd, TABLE_LIST *table_list)
if (table->in_use == thd)
DBUG_RETURN(0);
- /* Create a table entry with the right key and with an old refresh version */
- /* Note that we must use my_malloc() here as this is freed by the table
- cache */
-
+ /*
+ Create a table entry with the right key and with an old refresh version
+ Note that we must use my_malloc() here as this is freed by the table
+ cache
+ */
if (!(table= (TABLE*) my_malloc(sizeof(*table)+key_length,
MYF(MY_WME | MY_ZEROFILL))))
DBUG_RETURN(-1);