diff options
author | unknown <monty@narttu.mysql.fi> | 2003-02-28 22:24:00 +0200 |
---|---|---|
committer | unknown <monty@narttu.mysql.fi> | 2003-02-28 22:24:00 +0200 |
commit | b276b60e033744a25b034d3107e7a3f1122e04c9 (patch) | |
tree | d537e0166ddcfafa848c4a7753e9554d268108c7 /sql/mf_iocache.cc | |
parent | 94d8decf71f3ca7bdf29b545cd1b2114d8e1f5f5 (diff) | |
download | mariadb-git-b276b60e033744a25b034d3107e7a3f1122e04c9.tar.gz |
LOAD DATA INFILE is not replicated if replicate_*_table is set
LOAD DATA LOCAL INFILE was not replicated correctly
VC++Files/bdb/bdb.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/Berkeley_DB.dsw:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/db_archive.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/db_buildall.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/db_checkpoint.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/db_deadlock.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/db_dll.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/db_dump.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/db_java.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/db_load.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/db_printlog.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/db_recover.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/db_stat.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/db_static.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/db_static1.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/db_tcl.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/db_test.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/db_upgrade.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/db_verify.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/ex_access.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/ex_btrec.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/ex_env.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/ex_lock.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/ex_mpool.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/ex_tpcb.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/excxx_access.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/excxx_btrec.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/excxx_env.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/excxx_lock.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/excxx_mpool.dsp:
Updated VC++ files +end space removed
VC++Files/bdb/build_win32/excxx_tpcb.dsp:
Updated VC++ files +end space removed
VC++Files/client/mysql.dsp:
Updated VC++ files +end space removed
VC++Files/client/mysqladmin.dsp:
Updated VC++ files +end space removed
VC++Files/client/mysqlcheck.dsp:
Updated VC++ files +end space removed
VC++Files/client/mysqlclient.dsp:
Updated VC++ files +end space removed
VC++Files/client/mysqlclient.dsw:
Updated VC++ files +end space removed
VC++Files/client/mysqldump.dsp:
Updated VC++ files +end space removed
VC++Files/client/mysqlimport.dsp:
Updated VC++ files +end space removed
VC++Files/client/mysqlshow.dsp:
Updated VC++ files +end space removed
VC++Files/comp_err/comp_err.dsp:
Updated VC++ files +end space removed
VC++Files/contrib/asm386/zlibvc.dsp:
Updated VC++ files +end space removed
VC++Files/contrib/asm386/zlibvc.dsw:
Updated VC++ files +end space removed
VC++Files/contrib/minizip/zlibvc.dsp:
Updated VC++ files +end space removed
VC++Files/contrib/minizip/zlibvc.dsw:
Updated VC++ files +end space removed
VC++Files/dbug/dbug.dsp:
Updated VC++ files +end space removed
VC++Files/dbug/dbug.dsw:
Updated VC++ files +end space removed
VC++Files/heap/heap.dsp:
Updated VC++ files +end space removed
VC++Files/innobase/innobase.dsp:
Updated VC++ files +end space removed
VC++Files/isam/isam.dsp:
Updated VC++ files +end space removed
VC++Files/isam/isam.dsw:
Updated VC++ files +end space removed
VC++Files/isamchk/isamchk.dsp:
Updated VC++ files +end space removed
VC++Files/libmysql/libmysql.dsp:
Updated VC++ files +end space removed
VC++Files/libmysql/libmysql.dsw:
Updated VC++ files +end space removed
VC++Files/libmysqld/examples/test_libmysqld.dsp:
Updated VC++ files +end space removed
VC++Files/libmysqld/libmysqld.dsp:
Updated VC++ files +end space removed
VC++Files/libmysqltest/myTest.dsp:
Updated VC++ files +end space removed
VC++Files/libmysqltest/mytest.dsw:
Updated VC++ files +end space removed
VC++Files/merge/merge.dsp:
Updated VC++ files +end space removed
VC++Files/merge/merge.dsw:
Updated VC++ files +end space removed
VC++Files/my_print_defaults/my_print_defaults.dsp:
Updated VC++ files +end space removed
VC++Files/myisam/myisam.dsp:
Updated VC++ files +end space removed
VC++Files/myisamchk/myisamchk.dsp:
Updated VC++ files +end space removed
VC++Files/myisamlog/myisamlog.dsp:
Updated VC++ files +end space removed
VC++Files/myisammrg/myisammrg.dsp:
Updated VC++ files +end space removed
VC++Files/myisampack/myisampack.dsp:
Updated VC++ files +end space removed
VC++Files/mysql.dsp:
Updated VC++ files +end space removed
VC++Files/mysql.dsw:
Updated VC++ files +end space removed
VC++Files/mysqlbinlog/mysqlbinlog.dsp:
Updated VC++ files +end space removed
VC++Files/mysqlcheck/mysqlcheck.dsp:
Updated VC++ files +end space removed
VC++Files/mysqldemb/mysqldemb.dsp:
Updated VC++ files +end space removed
VC++Files/mysqlmanager/MySqlManager.dsp:
Updated VC++ files +end space removed
VC++Files/mysqlmanager/mysqlmanager.dsw:
Updated VC++ files +end space removed
VC++Files/mysqlserver/mysqlserver.dsp:
Updated VC++ files +end space removed
VC++Files/mysqlshutdown/myshutdown.dsp:
Updated VC++ files +end space removed
VC++Files/mysqlshutdown/mysqlshutdown.dsp:
Updated VC++ files +end space removed
VC++Files/mysqlwatch/mysqlwatch.dsp:
Updated VC++ files +end space removed
VC++Files/mysys/mysys.dsp:
Updated VC++ files +end space removed
VC++Files/mysys/mysys.dsw:
Updated VC++ files +end space removed
VC++Files/pack_isam/pack_isam.dsp:
Updated VC++ files +end space removed
VC++Files/perror/perror.dsp:
Updated VC++ files +end space removed
VC++Files/regex/regex.dsp:
Updated VC++ files +end space removed
VC++Files/regex/regex.dsw:
Updated VC++ files +end space removed
VC++Files/replace/replace.dsp:
Updated VC++ files +end space removed
VC++Files/sql/mysqld.dsp:
Updated VC++ files +end space removed
VC++Files/sql/mysqld.dsw:
Updated VC++ files +end space removed
VC++Files/sql/mysqldmax.dsp:
Updated VC++ files +end space removed
VC++Files/sql/old/mysqld.dsw:
Updated VC++ files +end space removed
VC++Files/strings/MASM6x/strings.dsp:
Updated VC++ files +end space removed
VC++Files/strings/MASM6x/strings.dsw:
Updated VC++ files +end space removed
VC++Files/strings/backup/strings.dsp:
Updated VC++ files +end space removed
VC++Files/strings/backup/strings.dsw:
Updated VC++ files +end space removed
VC++Files/strings/noMASM/strings.dsp:
Updated VC++ files +end space removed
VC++Files/strings/noMASM/strings.dsw:
Updated VC++ files +end space removed
VC++Files/strings/strings.dsp:
Updated VC++ files +end space removed
VC++Files/strings/strings.dsw:
Updated VC++ files +end space removed
VC++Files/test1/test1.dsp:
Updated VC++ files +end space removed
VC++Files/thr_insert_test/thr_insert_test.dsp:
Updated VC++ files +end space removed
VC++Files/thr_test/thr_test.dsp:
Updated VC++ files +end space removed
VC++Files/vio/vio.dsp:
Updated VC++ files +end space removed
VC++Files/zlib/zlib.dsp:
Updated VC++ files +end space removed
include/my_global.h:
Always include errno.h
sql/log_event.cc:
LOAD DATA INFILE is not replicated if replicate_*_table is set
sql/mf_iocache.cc:
LOAD DATA LOCAL INFILE was not replicated correctly
Diffstat (limited to 'sql/mf_iocache.cc')
-rw-r--r-- | sql/mf_iocache.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sql/mf_iocache.cc b/sql/mf_iocache.cc index 1bc65eebd23..3b70dae2563 100644 --- a/sql/mf_iocache.cc +++ b/sql/mf_iocache.cc @@ -70,13 +70,18 @@ int _my_b_net_read(register IO_CACHE *info, byte *Buffer, /* to set up stuff for my_b_get (no _) */ info->read_end = (info->read_pos = (byte*) net->read_pos) + read_length; Buffer[0] = info->read_pos[0]; /* length is always 1 */ - info->read_pos++; /* info->request_pos is used by log_loaded_block() to know the size - of the current block + of the current block. + info->pos_in_file is used by log_loaded_block() too. */ + info->pos_in_file+= read_length; info->request_pos=info->read_pos; + + info->read_pos++; + +info->request_pos=info->read_pos; DBUG_RETURN(0); } |