5.1.55 main.loaddata failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Looks like server is not built with the support of mentioned character set
CURRENT_TEST: main.loaddata
mysqltest: At line 592: query 'LOAD DATA INFILE 'tmpp.txt' INTO TABLE t1 CHARACTER SET ucs2
(@b) SET a=REVERSE(@b)' failed: 1115: Unknown character set: 'ucs2'
The result from queries just before the failure was:
< snip >
SELECT 'test' INTO OUTFILE 't1.txt';
LOAD DATA INFILE 't1.txt' IGNORE INTO TABLE t1 SET col0=col0;
SELECT * FROM t1;
col0
test
DROP TABLE t1;
#
# Bug #52512 : Assertion `! is_set()' in
# Diagnostics_
#
CREATE TABLE t1 (id INT NOT NULL);
LOAD DATA LOCAL INFILE 'tb.txt' INTO TABLE t1;
DROP TABLE t1;
#
# Bug #51876 : crash/memory underrun when loading data with ucs2
# and reverse() function
#
# Problem # 1 (original report): wrong parsing of ucs2 data
SELECT '00' UNION SELECT '10' INTO OUTFILE 'tmpp.txt';
CREATE TABLE t1(a INT);
More results from queries before failure can be found in /root/5.
- saving '/root/
-------
The servers were restarted 0 times
Spent 0.000 of 1 seconds executing testcases
Completed: Failed 1/1 tests, 0.00% were successful.
Failing test(s): main.loaddata
Changed in percona-server: | |
status: | Incomplete → Invalid |
Need additional information.
On My Fedora all OK.
I build Percona-Server by following script:
#!/usr/bin/env sh SERVER= Percona- Server SERVER= ${PERCONA_ SERVER} ${ADDITIONAL} SERVER= ${PERCONA_ SERVER} make all SOURCE= 2" SOURCE= 2" "./configure --build= x86_64- linux-gnu --host= x86_64- linux-gnu --prefix=/usr --exec-prefix=/usr --libexecdir= /usr/sbin --datadir= /usr/share --localstatedir =/var/lib/ mysql --includedir= /usr/include --infodir= /usr/share/ info --mandir= /usr/share/ man --enable-shared --enable-static --enable- thread- safe-client --enable-assembler --enable- local-infile --with-fast-mutexes --with-big-tables --with- unix-socket- path=/var/ run/mysqld/ mysqld. sock --with- mysqld- user=mysql --with-libwrap --with-ssl --without-docs --with- extra-charsets= all --with- plugins= max-no- ndb --without- plugin- innobase --without- embedded- server --with- embedded- privilege- control" ./configure --without- plugin- innobase --with- plugin- innodb_ plugin --with- extra-charsets= all --with- plugin- partition --prefix= /storage/ project/ percona/ mysql ======= ======= ======= ======= ======" ======= ======= ======= ======= ======"
test -z ${PERCONA_SERVER} && export PERCONA_
echo PERCONA_
echo ADDITIONAL=
PERCONA_
cd ${PERCONA_SERVER}
export CFLAGS="-O2 -g -fmessage-length=0 -D_FORTIFY_
export CXXFLAGS="-O2 -g -fmessage-length=0 -D_FORTIFY_
export LIBS=-lrt
BUILD/autorun.sh
CONFIGURE=
#CONFIGURE=
echo "======
echo ${CONFIGURE} ${ADDITIONAL}
echo "======
${CONFIGURE} ${ADDITIONAL}
make -j5
make test-force-full 1>log 2>error