mariadb/client
dlenev@brandersnatch.localdomain f169114042 WL#874 "Extended LOAD DATA".
Now one can use user variables as target for data loaded from file
(besides table's columns). Also LOAD DATA got new SET-clause in which
one can specify values for table columns as expressions.

For example the following is possible:
LOAD DATA INFILE 'words.dat' INTO TABLE t1 (a, @b) SET c = @b + 1;

This patch also implements new way of replicating LOAD DATA.
Now we do it similarly to other queries.
We store LOAD DATA query in new Execute_load_query event
(which is last in the sequence of events representing LOAD DATA).
When we are executing this event we simply rewrite part of query which
holds name of file (we use name of temporary file) and then execute it
as usual query. In the beggining of this sequence we use Begin_load_query
event which is almost identical to Append_file event
2005-03-16 04:32:47 +03:00
..
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
client_priv.h WL#2319 V2: Exclude tables from dump 2004-12-27 19:10:30 +01:00
completion_hash.cc few harmless warnings from automated code-checking tools fixed 2005-01-08 21:25:31 +01:00
completion_hash.h upgrade readline to version 4.3 2002-11-19 18:26:53 +04:00
get_password.c Merge with 4.0.14 2003-08-11 22:44:43 +03:00
Makefile.am Precision Math implementation 2005-02-09 02:50:45 +04:00
my_readline.h mysql.cc: 2004-05-05 22:47:09 +02:00
mysql.cc merged 2005-03-09 14:09:06 +01:00
mysqladmin.cc 4.1 -> 5.0 merge 2005-02-03 13:18:30 +02:00
mysqlbinlog.cc WL#874 "Extended LOAD DATA". 2005-03-16 04:32:47 +03:00
mysqlcheck.c Merge changes 2005-02-04 11:59:02 -08:00
mysqldump.c merged 2005-03-09 14:09:06 +01:00
mysqlimport.c Changing the default of libmysqlclient : it's now NO reconnection. 2004-12-09 14:44:10 +01:00
mysqlmanager-pwgen.c Merge with 4.0 2004-09-01 04:12:09 +03:00
mysqlmanagerc.c Added global my_getopt_error_reporter function pointer which is 2004-08-31 21:27:58 +05:00
mysqlshow.c Changing the default of libmysqlclient : it's now NO reconnection. 2004-12-09 14:44:10 +01:00
mysqltest.c Fixed failing test cases 'row.test' when running with --ps-protocol 2005-02-15 16:45:00 +02:00
readline.cc fixed conversion errors (Windows IA64 build) 2005-03-07 09:47:24 +01:00
sql_string.cc fixed conversion errors (Windows IA64 build) 2005-03-07 09:47:24 +01:00
sql_string.h Cleanup after split of libmysql.c to client.c and libmysql.c. A 4.1 master/slave will now use the 4.1 protocol 2003-06-14 11:37:42 +03:00