summaryrefslogtreecommitdiff
path: root/sql/sql_load.cc
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2004-11-05 17:29:47 +0200
committerbell@sanja.is.com.ua <>2004-11-05 17:29:47 +0200
commit064b02203fef63495b74e78f01bce5f53ccd0830 (patch)
tree7c3c0f2fa9d3f0ef56c352118e5174450230fec2 /sql/sql_load.cc
parentb2dd380beb303592d3504824cfdd69fa724aee0e (diff)
downloadmariadb-git-064b02203fef63495b74e78f01bce5f53ccd0830.tar.gz
new lock for multiupdate:
- open and create derived tables - detect which tables should be locked for write - lock and fill derived tables some unitialized variables fixed
Diffstat (limited to 'sql/sql_load.cc')
-rw-r--r--sql/sql_load.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_load.cc b/sql/sql_load.cc
index 1735da6b717..9c2a025e089 100644
--- a/sql/sql_load.cc
+++ b/sql/sql_load.cc
@@ -91,7 +91,7 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
int error;
String *field_term=ex->field_term,*escaped=ex->escaped;
String *enclosed=ex->enclosed;
- Item *unused_conds;
+ Item *unused_conds= 0;
bool is_fifo=0;
#ifndef EMBEDDED_LIBRARY
LOAD_FILE_INFO lf_info;