Post-merge fixes:

- Remove extra EXTRA_DIST from several Makefile.ams
- Add dummy primary key to test table in loaddata_autocom.inc
parent 6a31ec2c
...@@ -79,8 +79,6 @@ DEFS = -DUNDEF_THREADS_HACK \ ...@@ -79,8 +79,6 @@ DEFS = -DUNDEF_THREADS_HACK \
-DDATADIR="\"$(localstatedir)\"" -DDATADIR="\"$(localstatedir)\""
EXTRA_DIST = get_password.c CMakeLists.txt EXTRA_DIST = get_password.c CMakeLists.txt
EXTRA_DIST = get_password.c CMakeLists.txt
link_sources: link_sources:
for f in $(sql_src) ; do \ for f in $(sql_src) ; do \
rm -f $$f; \ rm -f $$f; \
......
...@@ -7,14 +7,16 @@ eval SET SESSION STORAGE_ENGINE = $engine_type; ...@@ -7,14 +7,16 @@ eval SET SESSION STORAGE_ENGINE = $engine_type;
drop table if exists t1; drop table if exists t1;
--enable_warnings --enable_warnings
create table t1 (a text, b text); # NDB does not support the create option 'Binlog of table with BLOB attribute and no PK'
# So use a dummy PK here.
create table t1 (id int unsigned not null auto_increment primary key, a text, b text);
start transaction; start transaction;
load data infile '../std_data_ln/loaddata2.dat' into table t1 fields terminated by ',' enclosed by ''''; load data infile '../std_data_ln/loaddata2.dat' into table t1 fields terminated by ',' enclosed by '''' (a, b);
commit; commit;
select count(*) from t1; select count(*) from t1;
truncate table t1; truncate table t1;
start transaction; start transaction;
load data infile '../std_data_ln/loaddata2.dat' into table t1 fields terminated by ',' enclosed by ''''; load data infile '../std_data_ln/loaddata2.dat' into table t1 fields terminated by ',' enclosed by '''' (a, b);
rollback; rollback;
select count(*) from t1; select count(*) from t1;
......
SET SESSION STORAGE_ENGINE = InnoDB; SET SESSION STORAGE_ENGINE = InnoDB;
drop table if exists t1; drop table if exists t1;
create table t1 (a text, b text); create table t1 (id int unsigned not null auto_increment primary key, a text, b text);
start transaction; start transaction;
load data infile '../std_data_ln/loaddata2.dat' into table t1 fields terminated by ',' enclosed by ''''; load data infile '../std_data_ln/loaddata2.dat' into table t1 fields terminated by ',' enclosed by '''' (a, b);
Warnings: Warnings:
Warning 1261 Row 3 doesn't contain data for all columns Warning 1261 Row 3 doesn't contain data for all columns
commit; commit;
...@@ -11,7 +11,7 @@ count(*) ...@@ -11,7 +11,7 @@ count(*)
4 4
truncate table t1; truncate table t1;
start transaction; start transaction;
load data infile '../std_data_ln/loaddata2.dat' into table t1 fields terminated by ',' enclosed by ''''; load data infile '../std_data_ln/loaddata2.dat' into table t1 fields terminated by ',' enclosed by '''' (a, b);
Warnings: Warnings:
Warning 1261 Row 3 doesn't contain data for all columns Warning 1261 Row 3 doesn't contain data for all columns
rollback; rollback;
......
SET SESSION STORAGE_ENGINE = ndbcluster; SET SESSION STORAGE_ENGINE = ndbcluster;
drop table if exists t1; drop table if exists t1;
create table t1 (a text, b text); create table t1 (id int unsigned not null auto_increment primary key, a text, b text);
start transaction; start transaction;
load data infile '../std_data_ln/loaddata2.dat' into table t1 fields terminated by ',' enclosed by ''''; load data infile '../std_data_ln/loaddata2.dat' into table t1 fields terminated by ',' enclosed by '''' (a, b);
Warnings: Warnings:
Warning 1261 Row 3 doesn't contain data for all columns Warning 1261 Row 3 doesn't contain data for all columns
commit; commit;
...@@ -11,7 +11,7 @@ count(*) ...@@ -11,7 +11,7 @@ count(*)
4 4
truncate table t1; truncate table t1;
start transaction; start transaction;
load data infile '../std_data_ln/loaddata2.dat' into table t1 fields terminated by ',' enclosed by ''''; load data infile '../std_data_ln/loaddata2.dat' into table t1 fields terminated by ',' enclosed by '''' (a, b);
Warnings: Warnings:
Warning 1261 Row 3 doesn't contain data for all columns Warning 1261 Row 3 doesn't contain data for all columns
rollback; rollback;
......
...@@ -18,8 +18,7 @@ INCLUDES= @ZLIB_INCLUDES@ -I$(top_srcdir)/include \ ...@@ -18,8 +18,7 @@ INCLUDES= @ZLIB_INCLUDES@ -I$(top_srcdir)/include \
@openssl_includes@ -I$(top_builddir)/include @openssl_includes@ -I$(top_builddir)/include
DEFS= -DMYSQL_INSTANCE_MANAGER -DMYSQL_SERVER DEFS= -DMYSQL_INSTANCE_MANAGER -DMYSQL_SERVER
EXTRA_DIST = IMService.cpp IMService.h WindowsService.cpp WindowsService.h \
CMakeLists.txt
# As all autoconf variables depend from ${prefix} and being resolved only when # As all autoconf variables depend from ${prefix} and being resolved only when
# make is run, we can not put these defines to a header file (e.g. to # make is run, we can not put these defines to a header file (e.g. to
# default_options.h, generated from default_options.h.in) # default_options.h, generated from default_options.h.in)
......
...@@ -177,7 +177,7 @@ class MYSQL_LOG ...@@ -177,7 +177,7 @@ class MYSQL_LOG
pthread_mutex_t LOCK_log; pthread_mutex_t LOCK_log;
char *name; char *name;
char log_file_name[FN_REFLEN]; char log_file_name[FN_REFLEN];
char time_buff[20], db[NAME_LEN + 1]; char time_buff[20], db[NAME_BYTE_LEN + 1];
bool write_error, inited; bool write_error, inited;
IO_CACHE log_file; IO_CACHE log_file;
enum_log_type log_type; enum_log_type log_type;
......
...@@ -36,7 +36,6 @@ SUBDIRS = os ut btr buf data dict dyn eval fil fsp fut \ ...@@ -36,7 +36,6 @@ SUBDIRS = os ut btr buf data dict dyn eval fil fsp fut \
ha ibuf lock log mach mem mtr page \ ha ibuf lock log mach mem mtr page \
handler \ handler \
pars que read rem row srv sync thr trx usr pars que read rem row srv sync thr trx usr
EXTRA_DIST = CMakeLists.txt
EXTRA_DIST = include/btr0btr.h include/btr0btr.ic include/btr0cur.h include/btr0cur.ic \ EXTRA_DIST = include/btr0btr.h include/btr0btr.ic include/btr0cur.h include/btr0cur.ic \
include/btr0pcur.h include/btr0pcur.ic include/btr0sea.h include/btr0sea.ic \ include/btr0pcur.h include/btr0pcur.ic include/btr0sea.h include/btr0sea.ic \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment