summaryrefslogtreecommitdiff
path: root/mysys/default.c
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2005-07-29 05:06:35 +0300
committerunknown <monty@mysql.com>2005-07-29 05:06:35 +0300
commit90b2daa7133cfab02017ff9ffc44d5e8089c0c31 (patch)
tree3ef47be44b8f55db04260a1a75e91daecf817740 /mysys/default.c
parent833a5ce0a497d2906efb7807e81fdd7ee5fbaaf6 (diff)
downloadmariadb-git-90b2daa7133cfab02017ff9ffc44d5e8089c0c31.tar.gz
Ensure we free all items for prepared statements
Before the fix in ~Prepared_statments we got a memory leak when executing mysql_client_test.test Note that test 'variables.test' fails. This will be fixed when Jimw pushes the fix for Bug 10351 mysys/default.c: Fixed typo sql/item.cc: More debugging information sql/sql_prepare.cc: More debugging information Ensure we free all items for prepared statements Before the fix in ~Prepared_statments we got a memory leak when executing mysql_client_test.test
Diffstat (limited to 'mysys/default.c')
-rw-r--r--mysys/default.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/default.c b/mysys/default.c
index d649df48332..bde7cbf2563 100644
--- a/mysys/default.c
+++ b/mysys/default.c
@@ -1023,7 +1023,7 @@ static void init_default_directories()
}
else
{
- /' No parent directory (strange). Use current dir + '\' '*/
+ /* No parent directory (strange). Use current dir + '\' */
last[1]= 0;
}
break;