mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
Test suites for engine testing, moved from test-extra so will be available
for general use.
This commit is contained in:
parent
c14807a21a
commit
0d608d5b11
916 changed files with 937114 additions and 4 deletions
|
@ -99,7 +99,11 @@ TEST_DIRS = t r include std_data std_data/parts collections \
|
|||
suite/ndb suite/ndb/t suite/ndb/r \
|
||||
suite/rpl_ndb suite/rpl_ndb/t suite/rpl_ndb/r \
|
||||
suite/parts suite/parts/t suite/parts/r suite/parts/inc \
|
||||
suite/innodb suite/innodb/t suite/innodb/r suite/innodb/include
|
||||
suite/innodb suite/innodb/t suite/innodb/r suite/innodb/include \
|
||||
suite/engines suite/engines/funcs suite/engines/iuds suite/engines/rr_trx \
|
||||
suite/engines/funcs/r suite/engines/funcs/t suite/engines/iuds/r \
|
||||
suite/engines/iuds/t suite/engines/rr_trx/include suite/engines/rr_trx/r \
|
||||
suite/engines/rr_trx/t
|
||||
|
||||
# Used by dist-hook and install-data-local to copy all
|
||||
# test files into either dist or install directory
|
||||
|
|
|
@ -122,8 +122,8 @@ $opt_threads=1;
|
|||
$pid_file="mysql_stress_test.pid";
|
||||
$opt_mysqltest= ($^O =~ /mswin32/i) ? "mysqltest.exe" : "mysqltest";
|
||||
$opt_check_tests_file="";
|
||||
# OBM adding a setting for 'max-connect-retries=7' the default of 500 is to high
|
||||
@mysqltest_args=("--silent", "-v", "--skip-safemalloc", "--max-connect-retries=7");
|
||||
# OBM adding a setting for 'max-connect-retries=20' the default of 500 is to high
|
||||
@mysqltest_args=("--silent", "-v", "--skip-safemalloc", "--max-connect-retries=20");
|
||||
|
||||
# Client ip address
|
||||
$client_ip=inet_ntoa((gethostbyname(hostname()))[4]);
|
||||
|
@ -150,7 +150,12 @@ $client_ip=~ s/\.//g;
|
|||
|
||||
%error_strings = ( 'Failed in mysql_real_connect()' => S1,
|
||||
'Can\'t connect' => S1,
|
||||
'not found (Errcode: 2)' => S1 );
|
||||
'not found (Errcode: 2)' => S1,
|
||||
'does not exist' => S1,
|
||||
'Could not open connection \'default\' after \d+ attempts' => S1,
|
||||
'wrong errno ' => S3,
|
||||
'Result length mismatch' => S4,
|
||||
'Result content mismatch' => S4);
|
||||
|
||||
%error_codes = ( 1012 => S2, 1015 => S2, 1021 => S2,
|
||||
1027 => S2, 1037 => S2, 1038 => S2,
|
||||
|
|
71
mysql-test/suite/engines/README
Normal file
71
mysql-test/suite/engines/README
Normal file
|
@ -0,0 +1,71 @@
|
|||
|
||||
|
||||
|
||||
This directory includes a set of three test suites aimed as testing functionality
|
||||
in an engine independent way, that is - the tests should work identically against
|
||||
different engines.
|
||||
|
||||
|
||||
The following suites are included:
|
||||
|
||||
1) 'funcs' suite
|
||||
-------------
|
||||
A collection of functional tests covering basic engine and server functionality that can be run
|
||||
against iany engine.
|
||||
|
||||
To run the test suite:
|
||||
cd INSTALL_DIR/mysql-test
|
||||
run: perl ./mysql-test-run.pl --suite=engines/funcs --mysqld=--default-storage-engine=<engine>
|
||||
|
||||
2) 'iuds' suite
|
||||
------------
|
||||
Similar to the above focused on insert/update/delete operations of different different data types.
|
||||
|
||||
To run the test suite:
|
||||
cd INSTALL_DIR/mysql-test
|
||||
run: perl ./mysql-test-run.pl --suite=engines/iuds --mysqld=--default-storage-engine=<engine>
|
||||
|
||||
3) 'rr_trx' suite (transactional engines only)
|
||||
--------------
|
||||
A scenario of multiple client connections verifying transactions with repeatable read isolation level
|
||||
|
||||
To run the test suite with innodb:
|
||||
cd INSTALL_DIR/mysql-test
|
||||
run: perl ./suite/engines/rr_trx/run_stress_tx_rr.pl --engine=<engine> [--duration=<nn>]
|
||||
[--threads=<nn>] [--try] [--help]
|
||||
|
||||
This test is can be run against any transactional engine. However scripts need to be modified in order
|
||||
to support such engines (current scripts support only InnoDB).
|
||||
In order to add support for a new engine, you will need to modify scripts as follows:
|
||||
1) cd to INSTALL_DIR/mysql-test/suite/engines/rr_trx
|
||||
2) Modify the 'run_stress_rr.pl' file by adding an 'elsif' section for your engine and have it
|
||||
include specific values required to be passed as startup parameters to the MySQL server by
|
||||
specifying them using "--mysqld" options (see InnoDB example).
|
||||
3) Copy the 'init_innodb.txt' file to 'init_<engine>.txt file and change its content to be "init_<engine>".
|
||||
4) In the 't' directory copy the "init_innodb.test" file to "init_<engine>.test" and change the value of
|
||||
the '$engine' variable to <engine>.
|
||||
5) In the 'r' directory copy "the init_innodb.result" file to "init_<engine>.result" and change refrences
|
||||
to 'InnoDB' to <engine>.
|
||||
|
||||
|
||||
Known Issues
|
||||
------------
|
||||
1) The 'funcs' and 'iuds' suites currently runs only against MySQL 5.1 server.
|
||||
Running them against MySQL 5.5 will generate errors.
|
||||
|
||||
2) The folowing tests in the 'iuds' suite:
|
||||
- delete_decimal
|
||||
- insert_decimal
|
||||
- update_decimal
|
||||
will return a 'Warning 1264 - Out of range value...' warning if run in a 32-bit environment.
|
||||
Add the '--force' option to prevent the test run from aborting.
|
||||
|
||||
3) The following tests in the 'funcs' suite will fail when run against the innodb_plugin:
|
||||
- crash_manycolumns_string (bug 50495)
|
||||
- ix_unique_lob (bug 52056, masked by an 'Out of memory error' on some 32-bit platforms)
|
||||
- ix_unique_string_length (bug 52056, masked by an 'Out of memory error' on some 32-bit platforms)
|
||||
Add the '--force' option to prevent the test run from aborting.
|
||||
|
||||
4) Some of the rpl_xxx tests in the 'funcs' suite require a secific binlog_forat setting and will be
|
||||
skipped otherwise.
|
||||
|
1141
mysql-test/suite/engines/funcs/r/ai_init_alter_table.result
Normal file
1141
mysql-test/suite/engines/funcs/r/ai_init_alter_table.result
Normal file
File diff suppressed because it is too large
Load diff
1081
mysql-test/suite/engines/funcs/r/ai_init_create_table.result
Normal file
1081
mysql-test/suite/engines/funcs/r/ai_init_create_table.result
Normal file
File diff suppressed because it is too large
Load diff
395
mysql-test/suite/engines/funcs/r/ai_init_insert.result
Normal file
395
mysql-test/suite/engines/funcs/r/ai_init_insert.result
Normal file
|
@ -0,0 +1,395 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', c2 INTEGER COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd',c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, c8 VARCHAR(100), c9 CHAR(50), c10 DATETIME, c11 DATETIME, c12 DATETIME,c13 DATETIME, INDEX i1 (c1), INDEX i2(c2)
|
||||
) COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd';
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c1' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c2' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c3' is too long (max = 255)
|
||||
Warning 1628 Comment for table 't1' is too long (max = 60)
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 60
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 255
|
||||
Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
SELECT comment FROM information_schema.statistics WHERE table_name='t1';
|
||||
comment
|
||||
|
||||
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234',
|
||||
`c4` int(11) DEFAULT NULL,
|
||||
`c5` int(11) DEFAULT NULL,
|
||||
`c6` int(11) DEFAULT NULL,
|
||||
`c7` int(11) DEFAULT NULL,
|
||||
`c8` varchar(100) DEFAULT NULL,
|
||||
`c9` char(50) DEFAULT NULL,
|
||||
`c10` datetime DEFAULT NULL,
|
||||
`c11` datetime DEFAULT NULL,
|
||||
`c12` datetime DEFAULT NULL,
|
||||
`c13` datetime DEFAULT NULL,
|
||||
KEY `i1` (`c1`),
|
||||
KEY `i2` (`c2`)
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 60
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 255
|
||||
Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
SELECT comment FROM information_schema.statistics WHERE table_name='t1';
|
||||
comment
|
||||
|
||||
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234',
|
||||
`c4` int(11) DEFAULT NULL,
|
||||
`c5` int(11) DEFAULT NULL,
|
||||
`c6` int(11) DEFAULT NULL,
|
||||
`c7` int(11) DEFAULT NULL,
|
||||
`c8` varchar(100) DEFAULT NULL,
|
||||
`c9` char(50) DEFAULT NULL,
|
||||
`c10` datetime DEFAULT NULL,
|
||||
`c11` datetime DEFAULT NULL,
|
||||
`c12` datetime DEFAULT NULL,
|
||||
`c13` datetime DEFAULT NULL,
|
||||
KEY `i1` (`c1`),
|
||||
KEY `i2` (`c2`)
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 60
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 255
|
||||
Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
SELECT comment FROM information_schema.statistics WHERE table_name='t1';
|
||||
comment
|
||||
|
||||
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234',
|
||||
`c4` int(11) DEFAULT NULL,
|
||||
`c5` int(11) DEFAULT NULL,
|
||||
`c6` int(11) DEFAULT NULL,
|
||||
`c7` int(11) DEFAULT NULL,
|
||||
`c8` varchar(100) DEFAULT NULL,
|
||||
`c9` char(50) DEFAULT NULL,
|
||||
`c10` datetime DEFAULT NULL,
|
||||
`c11` datetime DEFAULT NULL,
|
||||
`c12` datetime DEFAULT NULL,
|
||||
`c13` datetime DEFAULT NULL,
|
||||
KEY `i1` (`c1`),
|
||||
KEY `i2` (`c2`)
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'
|
||||
DROP INDEX i1 ON t1;
|
||||
ALTER TABLE t1 DROP INDEX i2;
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 60
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 255
|
||||
Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
SELECT comment FROM information_schema.statistics WHERE table_name='t1';
|
||||
comment
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234',
|
||||
`c4` int(11) DEFAULT NULL,
|
||||
`c5` int(11) DEFAULT NULL,
|
||||
`c6` int(11) DEFAULT NULL,
|
||||
`c7` int(11) DEFAULT NULL,
|
||||
`c8` varchar(100) DEFAULT NULL,
|
||||
`c9` char(50) DEFAULT NULL,
|
||||
`c10` datetime DEFAULT NULL,
|
||||
`c11` datetime DEFAULT NULL,
|
||||
`c12` datetime DEFAULT NULL,
|
||||
`c13` datetime DEFAULT NULL
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 60
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 255
|
||||
Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
SELECT comment FROM information_schema.statistics WHERE table_name='t1';
|
||||
comment
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234',
|
||||
`c4` int(11) DEFAULT NULL,
|
||||
`c5` int(11) DEFAULT NULL,
|
||||
`c6` int(11) DEFAULT NULL,
|
||||
`c7` int(11) DEFAULT NULL,
|
||||
`c8` varchar(100) DEFAULT NULL,
|
||||
`c9` char(50) DEFAULT NULL,
|
||||
`c10` datetime DEFAULT NULL,
|
||||
`c11` datetime DEFAULT NULL,
|
||||
`c12` datetime DEFAULT NULL,
|
||||
`c13` datetime DEFAULT NULL
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 60
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 255
|
||||
Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
SELECT comment FROM information_schema.statistics WHERE table_name='t1';
|
||||
comment
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234',
|
||||
`c4` int(11) DEFAULT NULL,
|
||||
`c5` int(11) DEFAULT NULL,
|
||||
`c6` int(11) DEFAULT NULL,
|
||||
`c7` int(11) DEFAULT NULL,
|
||||
`c8` varchar(100) DEFAULT NULL,
|
||||
`c9` char(50) DEFAULT NULL,
|
||||
`c10` datetime DEFAULT NULL,
|
||||
`c11` datetime DEFAULT NULL,
|
||||
`c12` datetime DEFAULT NULL,
|
||||
`c13` datetime DEFAULT NULL
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 60
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 255
|
||||
Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
SELECT comment FROM information_schema.statistics WHERE table_name='t1';
|
||||
comment
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234',
|
||||
`c4` int(11) DEFAULT NULL,
|
||||
`c5` int(11) DEFAULT NULL,
|
||||
`c6` int(11) DEFAULT NULL,
|
||||
`c7` int(11) DEFAULT NULL,
|
||||
`c8` varchar(100) DEFAULT NULL,
|
||||
`c9` char(50) DEFAULT NULL,
|
||||
`c10` datetime DEFAULT NULL,
|
||||
`c11` datetime DEFAULT NULL,
|
||||
`c12` datetime DEFAULT NULL,
|
||||
`c13` datetime DEFAULT NULL
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 60
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 255
|
||||
Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
SELECT comment FROM information_schema.statistics WHERE table_name='t1';
|
||||
comment
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234',
|
||||
`c4` int(11) DEFAULT NULL,
|
||||
`c5` int(11) DEFAULT NULL,
|
||||
`c6` int(11) DEFAULT NULL,
|
||||
`c7` int(11) DEFAULT NULL,
|
||||
`c8` varchar(100) DEFAULT NULL,
|
||||
`c9` char(50) DEFAULT NULL,
|
||||
`c10` datetime DEFAULT NULL,
|
||||
`c11` datetime DEFAULT NULL,
|
||||
`c12` datetime DEFAULT NULL,
|
||||
`c13` datetime DEFAULT NULL
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'
|
||||
set sql_mode='TRADITIONAL';
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 60
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 255
|
||||
Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
SELECT comment FROM information_schema.statistics WHERE table_name='t1';
|
||||
comment
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234',
|
||||
`c4` int(11) DEFAULT NULL,
|
||||
`c5` int(11) DEFAULT NULL,
|
||||
`c6` int(11) DEFAULT NULL,
|
||||
`c7` int(11) DEFAULT NULL,
|
||||
`c8` varchar(100) DEFAULT NULL,
|
||||
`c9` char(50) DEFAULT NULL,
|
||||
`c10` datetime DEFAULT NULL,
|
||||
`c11` datetime DEFAULT NULL,
|
||||
`c12` datetime DEFAULT NULL,
|
||||
`c13` datetime DEFAULT NULL
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'
|
||||
set sql_mode='TRADITIONAL';
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 60
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 255
|
||||
Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
SELECT comment FROM information_schema.statistics WHERE table_name='t1';
|
||||
comment
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234',
|
||||
`c4` int(11) DEFAULT NULL,
|
||||
`c5` int(11) DEFAULT NULL,
|
||||
`c6` int(11) DEFAULT NULL,
|
||||
`c7` int(11) DEFAULT NULL,
|
||||
`c8` varchar(100) DEFAULT NULL,
|
||||
`c9` char(50) DEFAULT NULL,
|
||||
`c10` datetime DEFAULT NULL,
|
||||
`c11` datetime DEFAULT NULL,
|
||||
`c12` datetime DEFAULT NULL,
|
||||
`c13` datetime DEFAULT NULL
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'
|
||||
DROP TABLE t1;
|
1141
mysql-test/suite/engines/funcs/r/ai_init_insert_id.result
Normal file
1141
mysql-test/suite/engines/funcs/r/ai_init_insert_id.result
Normal file
File diff suppressed because it is too large
Load diff
1081
mysql-test/suite/engines/funcs/r/ai_overflow_error.result
Normal file
1081
mysql-test/suite/engines/funcs/r/ai_overflow_error.result
Normal file
File diff suppressed because it is too large
Load diff
2521
mysql-test/suite/engines/funcs/r/ai_reset_by_truncate.result
Normal file
2521
mysql-test/suite/engines/funcs/r/ai_reset_by_truncate.result
Normal file
File diff suppressed because it is too large
Load diff
529
mysql-test/suite/engines/funcs/r/ai_sql_auto_is_null.result
Normal file
529
mysql-test/suite/engines/funcs/r/ai_sql_auto_is_null.result
Normal file
|
@ -0,0 +1,529 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NULL KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NULL KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NULL KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT AUTO_INCREMENT NULL KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NULL KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NULL KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NOT NULL KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NOT NULL KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NOT NULL KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT AUTO_INCREMENT NOT NULL KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NOT NULL KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NOT NULL KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NULL UNIQUE KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NULL UNIQUE KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NULL UNIQUE KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT AUTO_INCREMENT NULL UNIQUE KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NULL UNIQUE KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NULL UNIQUE KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NOT NULL UNIQUE KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NOT NULL UNIQUE KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NOT NULL UNIQUE KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT AUTO_INCREMENT NOT NULL UNIQUE KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NOT NULL UNIQUE KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NOT NULL UNIQUE KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NOT NULL PRIMARY KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NOT NULL PRIMARY KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NOT NULL PRIMARY KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT AUTO_INCREMENT NOT NULL PRIMARY KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NOT NULL PRIMARY KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NOT NULL PRIMARY KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NULL KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NULL KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NULL KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NULL KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NULL KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NULL KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY );
|
||||
SET SQL_AUTO_IS_NULL = 1;
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
INSERT INTO t1 VALUES(null);
|
||||
SELECT * FROM t1 WHERE c1 IS NULL;
|
||||
c1
|
||||
3
|
||||
DROP TABLE t1;
|
39
mysql-test/suite/engines/funcs/r/an_calendar.result
Normal file
39
mysql-test/suite/engines/funcs/r/an_calendar.result
Normal file
|
@ -0,0 +1,39 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 DATE NULL, c2 DATE NULL);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 VALUES(NOW(),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
INSERT INTO t1 VALUES(NOW(),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIME NULL, c2 TIME NULL);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 VALUES(NOW(),NOW());
|
||||
INSERT INTO t1 VALUES(NOW(),NOW());
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DATETIME NULL, c2 DATETIME NULL);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 VALUES(NOW(),NOW());
|
||||
INSERT INTO t1 VALUES(NOW(),NOW());
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIMESTAMP NULL, c2 TIMESTAMP NULL);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 VALUES(NOW(),NOW());
|
||||
INSERT INTO t1 VALUES(NOW(),NOW());
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
99
mysql-test/suite/engines/funcs/r/an_number.result
Normal file
99
mysql-test/suite/engines/funcs/r/an_number.result
Normal file
|
@ -0,0 +1,99 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 TINYINT NULL, c2 TINYINT NULL);
|
||||
INSERT INTO t1 VALUES(1,2);
|
||||
INSERT INTO t1 VALUES(3,4);
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NULL, c2 SMALLINT NULL);
|
||||
INSERT INTO t1 VALUES(1,2);
|
||||
INSERT INTO t1 VALUES(3,4);
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NULL, c2 MEDIUMINT NULL);
|
||||
INSERT INTO t1 VALUES(1,2);
|
||||
INSERT INTO t1 VALUES(3,4);
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NULL, c2 INT NULL);
|
||||
INSERT INTO t1 VALUES(1,2);
|
||||
INSERT INTO t1 VALUES(3,4);
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NULL, c2 INTEGER NULL);
|
||||
INSERT INTO t1 VALUES(1,2);
|
||||
INSERT INTO t1 VALUES(3,4);
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NULL, c2 BIGINT NULL);
|
||||
INSERT INTO t1 VALUES(1,2);
|
||||
INSERT INTO t1 VALUES(3,4);
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DECIMAL NULL, c2 DECIMAL NULL);
|
||||
INSERT INTO t1 VALUES(1,2);
|
||||
INSERT INTO t1 VALUES(3,4);
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DEC NULL, c2 DEC NULL);
|
||||
INSERT INTO t1 VALUES(1,2);
|
||||
INSERT INTO t1 VALUES(3,4);
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 FIXED NULL, c2 FIXED NULL);
|
||||
INSERT INTO t1 VALUES(1,2);
|
||||
INSERT INTO t1 VALUES(3,4);
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 NUMERIC NULL, c2 NUMERIC NULL);
|
||||
INSERT INTO t1 VALUES(1,2);
|
||||
INSERT INTO t1 VALUES(3,4);
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DOUBLE NULL, c2 DOUBLE NULL);
|
||||
INSERT INTO t1 VALUES(1,2);
|
||||
INSERT INTO t1 VALUES(3,4);
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 REAL NULL, c2 REAL NULL);
|
||||
INSERT INTO t1 VALUES(1,2);
|
||||
INSERT INTO t1 VALUES(3,4);
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DOUBLE PRECISION NULL, c2 DOUBLE PRECISION NULL);
|
||||
INSERT INTO t1 VALUES(1,2);
|
||||
INSERT INTO t1 VALUES(3,4);
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 FLOAT NULL, c2 FLOAT NULL);
|
||||
INSERT INTO t1 VALUES(1,2);
|
||||
INSERT INTO t1 VALUES(3,4);
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
43
mysql-test/suite/engines/funcs/r/an_string.result
Normal file
43
mysql-test/suite/engines/funcs/r/an_string.result
Normal file
|
@ -0,0 +1,43 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 CHAR(100) NULL, c2 CHAR(100) NULL);
|
||||
INSERT INTO t1 VALUES('abc','ABCDEFG');
|
||||
INSERT INTO t1 VALUES('123','1234567890');
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARCHAR(100) NULL, c2 VARCHAR(100) NULL);
|
||||
INSERT INTO t1 VALUES('abc','ABCDEFG');
|
||||
INSERT INTO t1 VALUES('123','1234567890');
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BINARY(100) NULL, c2 BINARY(100) NULL);
|
||||
INSERT INTO t1 VALUES('abc','ABCDEFG');
|
||||
INSERT INTO t1 VALUES('123','1234567890');
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARBINARY(100) NULL, c2 VARBINARY(100) NULL);
|
||||
INSERT INTO t1 VALUES('abc','ABCDEFG');
|
||||
INSERT INTO t1 VALUES('123','1234567890');
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BLOB(100) NULL, c2 BLOB(100) NULL);
|
||||
INSERT INTO t1 VALUES('abc','ABCDEFG');
|
||||
INSERT INTO t1 VALUES('123','1234567890');
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TEXT(100) NULL, c2 TEXT(100) NULL);
|
||||
INSERT INTO t1 VALUES('abc','ABCDEFG');
|
||||
INSERT INTO t1 VALUES('123','1234567890');
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
366
mysql-test/suite/engines/funcs/r/comment_column.result
Normal file
366
mysql-test/suite/engines/funcs/r/comment_column.result
Normal file
|
@ -0,0 +1,366 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', c2 INTEGER COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd',c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1),INDEX i2(c2)
|
||||
) COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd';
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c1' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c2' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c3' is too long (max = 255)
|
||||
Warning 1628 Comment for table 't1' is too long (max = 60)
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 60
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 255
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234',
|
||||
`c4` int(11) DEFAULT NULL,
|
||||
`c5` int(11) DEFAULT NULL,
|
||||
`c6` int(11) DEFAULT NULL,
|
||||
`c7` int(11) DEFAULT NULL,
|
||||
KEY `i1` (`c1`),
|
||||
KEY `i2` (`c2`)
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'
|
||||
ALTER TABLE t1 ADD COLUMN c8 INTEGER COMMENT 'ABCdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd';
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c8' is too long (max = 255)
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 60
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 255
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
ABCdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234',
|
||||
`c4` int(11) DEFAULT NULL,
|
||||
`c5` int(11) DEFAULT NULL,
|
||||
`c6` int(11) DEFAULT NULL,
|
||||
`c7` int(11) DEFAULT NULL,
|
||||
`c8` int(11) DEFAULT NULL COMMENT 'ABCdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
KEY `i1` (`c1`),
|
||||
KEY `i2` (`c2`)
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'
|
||||
ALTER TABLE t1 ADD COLUMN c9 INTEGER COMMENT 'ABCDefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd';
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c9' is too long (max = 255)
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 60
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 255
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
ABCdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
ABCDefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234',
|
||||
`c4` int(11) DEFAULT NULL,
|
||||
`c5` int(11) DEFAULT NULL,
|
||||
`c6` int(11) DEFAULT NULL,
|
||||
`c7` int(11) DEFAULT NULL,
|
||||
`c8` int(11) DEFAULT NULL COMMENT 'ABCdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c9` int(11) DEFAULT NULL COMMENT 'ABCDefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
KEY `i1` (`c1`),
|
||||
KEY `i2` (`c2`)
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'
|
||||
ALTER TABLE t1 ADD COLUMN c10 INTEGER COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd';
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c10' is too long (max = 255)
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 60
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 255
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
ABCdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
ABCDefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234',
|
||||
`c4` int(11) DEFAULT NULL,
|
||||
`c5` int(11) DEFAULT NULL,
|
||||
`c6` int(11) DEFAULT NULL,
|
||||
`c7` int(11) DEFAULT NULL,
|
||||
`c8` int(11) DEFAULT NULL COMMENT 'ABCdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c9` int(11) DEFAULT NULL COMMENT 'ABCDefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c10` int(11) DEFAULT NULL COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
KEY `i1` (`c1`),
|
||||
KEY `i2` (`c2`)
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'
|
||||
ALTER TABLE t1 MODIFY COLUMN c8 CHAR(10);
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 60
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 255
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
ABCDefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234',
|
||||
`c4` int(11) DEFAULT NULL,
|
||||
`c5` int(11) DEFAULT NULL,
|
||||
`c6` int(11) DEFAULT NULL,
|
||||
`c7` int(11) DEFAULT NULL,
|
||||
`c8` char(10) DEFAULT NULL,
|
||||
`c9` int(11) DEFAULT NULL COMMENT 'ABCDefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c10` int(11) DEFAULT NULL COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
KEY `i1` (`c1`),
|
||||
KEY `i2` (`c2`)
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'
|
||||
ALTER TABLE t1 CHANGE COLUMN c9 c9_1 INTEGER COMMENT '1234567890';
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 60
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 255
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
1234567890 10
|
||||
ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234',
|
||||
`c4` int(11) DEFAULT NULL,
|
||||
`c5` int(11) DEFAULT NULL,
|
||||
`c6` int(11) DEFAULT NULL,
|
||||
`c7` int(11) DEFAULT NULL,
|
||||
`c8` char(10) DEFAULT NULL,
|
||||
`c9_1` int(11) DEFAULT NULL COMMENT '1234567890',
|
||||
`c10` int(11) DEFAULT NULL COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
KEY `i1` (`c1`),
|
||||
KEY `i2` (`c2`)
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'
|
||||
ALTER TABLE t1 DROP COLUMN c1;
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 60
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 255
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
1234567890 10
|
||||
ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234',
|
||||
`c4` int(11) DEFAULT NULL,
|
||||
`c5` int(11) DEFAULT NULL,
|
||||
`c6` int(11) DEFAULT NULL,
|
||||
`c7` int(11) DEFAULT NULL,
|
||||
`c8` char(10) DEFAULT NULL,
|
||||
`c9_1` int(11) DEFAULT NULL COMMENT '1234567890',
|
||||
`c10` int(11) DEFAULT NULL COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
KEY `i2` (`c2`)
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'
|
||||
ALTER TABLE t1 ADD COLUMN c11 INTEGER COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd';
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c11' is too long (max = 255)
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 60
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 255
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
1234567890 10
|
||||
ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234',
|
||||
`c4` int(11) DEFAULT NULL,
|
||||
`c5` int(11) DEFAULT NULL,
|
||||
`c6` int(11) DEFAULT NULL,
|
||||
`c7` int(11) DEFAULT NULL,
|
||||
`c8` char(10) DEFAULT NULL,
|
||||
`c9_1` int(11) DEFAULT NULL COMMENT '1234567890',
|
||||
`c10` int(11) DEFAULT NULL COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c11` int(11) DEFAULT NULL COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
KEY `i2` (`c2`)
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'
|
||||
set sql_mode='TRADITIONAL';
|
||||
ALTER TABLE t1 ADD COLUMN c12 INTEGER COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd';
|
||||
ERROR HY000: Comment for field 'c12' is too long (max = 255)
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 60
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 255
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
1234567890 10
|
||||
ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234',
|
||||
`c4` int(11) DEFAULT NULL,
|
||||
`c5` int(11) DEFAULT NULL,
|
||||
`c6` int(11) DEFAULT NULL,
|
||||
`c7` int(11) DEFAULT NULL,
|
||||
`c8` char(10) DEFAULT NULL,
|
||||
`c9_1` int(11) DEFAULT NULL COMMENT '1234567890',
|
||||
`c10` int(11) DEFAULT NULL COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c11` int(11) DEFAULT NULL COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
KEY `i2` (`c2`)
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'
|
||||
set sql_mode='';
|
||||
ALTER TABLE t1 ADD COLUMN c12 CHAR(100) COMMENT 'ABCDefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd';
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c12' is too long (max = 255)
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 60
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 255
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
1234567890 10
|
||||
ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
ABCDefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234',
|
||||
`c4` int(11) DEFAULT NULL,
|
||||
`c5` int(11) DEFAULT NULL,
|
||||
`c6` int(11) DEFAULT NULL,
|
||||
`c7` int(11) DEFAULT NULL,
|
||||
`c8` char(10) DEFAULT NULL,
|
||||
`c9_1` int(11) DEFAULT NULL COMMENT '1234567890',
|
||||
`c10` int(11) DEFAULT NULL COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c11` int(11) DEFAULT NULL COMMENT 'ABCDEfghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c12` char(100) DEFAULT NULL COMMENT 'ABCDefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
KEY `i2` (`c2`)
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'
|
||||
drop table t1;
|
||||
create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', c2 INTEGER COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdaBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd',c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) ,INDEX i2(c2)
|
||||
) COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd';
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c1' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c2' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c3' is too long (max = 255)
|
||||
Warning 1628 Comment for table 't1' is too long (max = 60)
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 60
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 255
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` varchar(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c2` int(11) DEFAULT NULL COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde',
|
||||
`c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234',
|
||||
`c4` int(11) DEFAULT NULL,
|
||||
`c5` int(11) DEFAULT NULL,
|
||||
`c6` int(11) DEFAULT NULL,
|
||||
`c7` int(11) DEFAULT NULL,
|
||||
KEY `i1` (`c1`),
|
||||
KEY `i2` (`c2`)
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'
|
||||
DROP TABLE t1;
|
||||
set sql_mode='TRADITIONAL';
|
||||
create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'Abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd', c2 INTEGER COMMENT 'aBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdaBcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd',c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) ,INDEX i2(c2)
|
||||
) COMMENT='ABCDEFGHIJabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd';
|
||||
ERROR HY000: Comment for field 'c1' is too long (max = 255)
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
596
mysql-test/suite/engines/funcs/r/comment_column2.result
Normal file
596
mysql-test/suite/engines/funcs/r/comment_column2.result
Normal file
|
@ -0,0 +1,596 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
create table t1 (
|
||||
c1 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c2 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c3 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c4 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c5 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c6 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c7 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c8 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c9 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c10 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c11 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c12 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c13 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c14 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c15 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c16 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c17 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c18 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c19 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c20 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c21 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c22 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c23 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c24 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c25 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c26 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c27 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c28 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c29 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c30 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c31 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c32 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c33 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c34 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c35 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c36 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c37 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c38 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c39 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c40 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c41 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c42 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c43 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c44 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c45 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c46 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c47 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c48 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c49 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c50 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij');
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c1' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c2' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c3' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c4' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c5' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c6' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c7' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c8' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c9' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c10' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c11' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c12' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c13' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c14' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c15' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c16' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c17' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c18' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c19' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c20' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c21' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c22' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c23' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c24' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c25' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c26' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c27' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c28' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c29' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c30' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c31' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c32' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c33' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c34' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c35' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c36' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c37' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c38' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c39' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c40' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c41' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c42' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c43' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c44' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c45' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c46' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c47' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c48' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c49' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c50' is too long (max = 255)
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
0
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
ALTER TABLE t1 ADD COLUMN c51 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',ADD COLUMN c52 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij';
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c51' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c52' is too long (max = 255)
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
0
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
ALTER TABLE t1 ADD COLUMN c53 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij';
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c53' is too long (max = 255)
|
||||
ALTER TABLE t1 ADD COLUMN c54 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij';
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c54' is too long (max = 255)
|
||||
ALTER TABLE t1 ADD COLUMN c55 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij';
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c55' is too long (max = 255)
|
||||
ALTER TABLE t1 ADD COLUMN c56 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij';
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c56' is too long (max = 255)
|
||||
ALTER TABLE t1 ADD COLUMN c57 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij';
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c57' is too long (max = 255)
|
||||
ALTER TABLE t1 ADD COLUMN c58 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij';
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c58' is too long (max = 255)
|
||||
ALTER TABLE t1 ADD COLUMN c59 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij';
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c59' is too long (max = 255)
|
||||
ALTER TABLE t1 ADD COLUMN c60 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij';
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c60' is too long (max = 255)
|
||||
ALTER TABLE t1 ADD COLUMN c61 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij';
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c61' is too long (max = 255)
|
||||
ALTER TABLE t1 ADD COLUMN c62 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij';
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c62' is too long (max = 255)
|
||||
ALTER TABLE t1 ADD COLUMN c63 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij';
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c63' is too long (max = 255)
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
0
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
ALTER TABLE t1 ADD COLUMN c64 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij';
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c64' is too long (max = 255)
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
0
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
drop table t1;
|
||||
create table t1 (
|
||||
c1 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c2 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c3 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c4 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c5 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c6 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c7 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c8 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c9 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c10 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c11 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c12 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c13 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c14 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c15 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c16 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c17 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c18 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c19 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c20 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c21 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c22 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c23 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c24 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c25 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c26 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c27 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c28 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c29 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c30 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c31 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c32 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c33 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c34 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c35 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c36 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c37 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c38 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c39 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c40 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c41 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c42 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c43 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c44 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c45 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c46 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c47 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c48 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c49 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c50 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c51 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c52 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c53 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c54 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c55 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c56 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c57 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c58 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c59 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c60 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c61 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c62 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c63 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c64 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij',
|
||||
c65 INTEGER COMMENT 'abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij')
|
||||
;
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c1' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c2' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c3' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c4' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c5' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c6' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c7' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c8' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c9' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c10' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c11' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c12' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c13' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c14' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c15' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c16' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c17' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c18' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c19' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c20' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c21' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c22' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c23' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c24' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c25' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c26' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c27' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c28' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c29' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c30' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c31' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c32' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c33' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c34' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c35' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c36' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c37' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c38' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c39' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c40' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c41' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c42' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c43' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c44' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c45' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c46' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c47' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c48' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c49' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c50' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c51' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c52' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c53' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c54' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c55' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c56' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c57' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c58' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c59' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c60' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c61' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c62' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c63' is too long (max = 255)
|
||||
Warning 1629 Comment for field 'c64' is too long (max = 255)
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
0
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde 255
|
||||
drop table t1;
|
97
mysql-test/suite/engines/funcs/r/comment_table.result
Normal file
97
mysql-test/suite/engines/funcs/r/comment_table.result
Normal file
|
@ -0,0 +1,97 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'c1 comment', c2 INTEGER,c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) ,INDEX i2(c2)
|
||||
) COMMENT='abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd';
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c3' is too long (max = 255)
|
||||
Warning 1628 Comment for table 't1' is too long (max = 60)
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 60
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
c1 comment 10
|
||||
0
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 255
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` varchar(10) NOT NULL COMMENT 'c1 comment',
|
||||
`c2` int(11) DEFAULT NULL,
|
||||
`c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234',
|
||||
`c4` int(11) DEFAULT NULL,
|
||||
`c5` int(11) DEFAULT NULL,
|
||||
`c6` int(11) DEFAULT NULL,
|
||||
`c7` int(11) DEFAULT NULL,
|
||||
KEY `i1` (`c1`),
|
||||
KEY `i2` (`c2`)
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'
|
||||
drop table t1;
|
||||
create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'c1 comment', c2 INTEGER,c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) ,INDEX i2(c2)
|
||||
) COMMENT='abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde';
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c3' is too long (max = 255)
|
||||
Warning 1628 Comment for table 't1' is too long (max = 60)
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 60
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
c1 comment 10
|
||||
0
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 255
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` varchar(10) NOT NULL COMMENT 'c1 comment',
|
||||
`c2` int(11) DEFAULT NULL,
|
||||
`c3` int(11) DEFAULT NULL COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234',
|
||||
`c4` int(11) DEFAULT NULL,
|
||||
`c5` int(11) DEFAULT NULL,
|
||||
`c6` int(11) DEFAULT NULL,
|
||||
`c7` int(11) DEFAULT NULL,
|
||||
KEY `i1` (`c1`),
|
||||
KEY `i2` (`c2`)
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COMMENT='abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij'
|
||||
drop table t1;
|
||||
set sql_mode='TRADITIONAL';
|
||||
create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'c1 comment', c2 INTEGER,c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) ,INDEX i2(c2)
|
||||
) COMMENT='abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde';
|
||||
ERROR HY000: Comment for field 'c3' is too long (max = 255)
|
||||
create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'c1 comment', c2 INTEGER,c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) ,INDEX i2(c2)
|
||||
) COMMENT='abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd';
|
||||
ERROR HY000: Comment for field 'c3' is too long (max = 255)
|
||||
SET SQL_MODE='';
|
||||
create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'c1 comment', c2 INTEGER,c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) ,INDEX i2(c2)
|
||||
) COMMENT='abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde';
|
||||
Warnings:
|
||||
Warning 1629 Comment for field 'c3' is too long (max = 255)
|
||||
Warning 1628 Comment for table 't1' is too long (max = 60)
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij 60
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
||||
c1 comment 10
|
||||
0
|
||||
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 255
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
drop table t1;
|
||||
SET SQL_MODE='TRADITIONAL';
|
||||
create table t1 (c1 VARCHAR(10) NOT NULL COMMENT 'c1 comment', c2 INTEGER,c3 INTEGER COMMENT '012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789', c4 INTEGER, c5 INTEGER, c6 INTEGER, c7 INTEGER, INDEX i1 (c1) ,INDEX i2(c2)
|
||||
) COMMENT='abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcde';
|
||||
ERROR HY000: Comment for field 'c3' is too long (max = 255)
|
||||
SELECT table_comment,char_length(table_comment) FROM information_schema.tables WHERE table_name='t1';
|
||||
table_comment char_length(table_comment)
|
||||
SELECT column_comment,char_length(column_comment) FROM information_schema.columns WHERE table_name='t1';
|
||||
column_comment char_length(column_comment)
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
3001
mysql-test/suite/engines/funcs/r/crash_manytables_number.result
Normal file
3001
mysql-test/suite/engines/funcs/r/crash_manytables_number.result
Normal file
File diff suppressed because it is too large
Load diff
3001
mysql-test/suite/engines/funcs/r/crash_manytables_string.result
Normal file
3001
mysql-test/suite/engines/funcs/r/crash_manytables_string.result
Normal file
File diff suppressed because it is too large
Load diff
749
mysql-test/suite/engines/funcs/r/date_function.result
Normal file
749
mysql-test/suite/engines/funcs/r/date_function.result
Normal file
|
@ -0,0 +1,749 @@
|
|||
DROP TABLE IF EXISTS t3;
|
||||
CREATE TABLE t3(c1 DATE NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT DATE(c1) FROM t3;
|
||||
DATE(c1)
|
||||
1000-01-01
|
||||
1999-12-31
|
||||
2000-01-01
|
||||
2006-12-25
|
||||
2008-02-29
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATETIME NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT DATE(c1) FROM t3;
|
||||
DATE(c1)
|
||||
1000-01-01
|
||||
1999-12-31
|
||||
2000-01-01
|
||||
2006-12-25
|
||||
2008-02-29
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TIMESTAMP NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT DATE(c1) FROM t3;
|
||||
DATE(c1)
|
||||
0000-00-00
|
||||
1999-12-31
|
||||
2000-01-01
|
||||
2006-12-25
|
||||
2008-02-29
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATE NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT DAYNAME(c1) FROM t3;
|
||||
DAYNAME(c1)
|
||||
Wednesday
|
||||
Friday
|
||||
Saturday
|
||||
Monday
|
||||
Friday
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATETIME NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT DAYNAME(c1) FROM t3;
|
||||
DAYNAME(c1)
|
||||
Wednesday
|
||||
Friday
|
||||
Saturday
|
||||
Monday
|
||||
Friday
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TIMESTAMP NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT DAYNAME(c1) FROM t3;
|
||||
DAYNAME(c1)
|
||||
NULL
|
||||
Friday
|
||||
Saturday
|
||||
Monday
|
||||
Friday
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATE NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT DAYOFMONTH(c1) FROM t3;
|
||||
DAYOFMONTH(c1)
|
||||
1
|
||||
31
|
||||
1
|
||||
25
|
||||
29
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATETIME NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT DAYOFMONTH(c1) FROM t3;
|
||||
DAYOFMONTH(c1)
|
||||
1
|
||||
31
|
||||
1
|
||||
25
|
||||
29
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TIMESTAMP NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT DAYOFMONTH(c1) FROM t3;
|
||||
DAYOFMONTH(c1)
|
||||
0
|
||||
31
|
||||
1
|
||||
25
|
||||
29
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATE NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT DAYOFWEEK(c1) FROM t3;
|
||||
DAYOFWEEK(c1)
|
||||
4
|
||||
6
|
||||
7
|
||||
2
|
||||
6
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATETIME NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT DAYOFWEEK(c1) FROM t3;
|
||||
DAYOFWEEK(c1)
|
||||
4
|
||||
6
|
||||
7
|
||||
2
|
||||
6
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TIMESTAMP NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT DAYOFWEEK(c1) FROM t3;
|
||||
DAYOFWEEK(c1)
|
||||
NULL
|
||||
6
|
||||
7
|
||||
2
|
||||
6
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATE NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT DAYOFYEAR(c1) FROM t3;
|
||||
DAYOFYEAR(c1)
|
||||
1
|
||||
365
|
||||
1
|
||||
359
|
||||
60
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATETIME NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT DAYOFYEAR(c1) FROM t3;
|
||||
DAYOFYEAR(c1)
|
||||
1
|
||||
365
|
||||
1
|
||||
359
|
||||
60
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TIMESTAMP NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT DAYOFYEAR(c1) FROM t3;
|
||||
DAYOFYEAR(c1)
|
||||
NULL
|
||||
365
|
||||
1
|
||||
359
|
||||
60
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATE NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT FROM_DAYS(c1) FROM t3;
|
||||
FROM_DAYS(c1)
|
||||
0000-00-00
|
||||
0000-00-00
|
||||
0000-00-00
|
||||
0000-00-00
|
||||
0000-00-00
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATETIME NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT FROM_DAYS(c1) FROM t3;
|
||||
FROM_DAYS(c1)
|
||||
0000-00-00
|
||||
0000-00-00
|
||||
0000-00-00
|
||||
0000-00-00
|
||||
0000-00-00
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TIMESTAMP NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT FROM_DAYS(c1) FROM t3;
|
||||
FROM_DAYS(c1)
|
||||
0000-00-00
|
||||
0000-00-00
|
||||
0000-00-00
|
||||
0000-00-00
|
||||
0000-00-00
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATE NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT LAST_DAY(c1) FROM t3;
|
||||
LAST_DAY(c1)
|
||||
1000-01-31
|
||||
1999-12-31
|
||||
2000-01-31
|
||||
2006-12-31
|
||||
2008-02-29
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATETIME NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT LAST_DAY(c1) FROM t3;
|
||||
LAST_DAY(c1)
|
||||
1000-01-31
|
||||
1999-12-31
|
||||
2000-01-31
|
||||
2006-12-31
|
||||
2008-02-29
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TIMESTAMP NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT LAST_DAY(c1) FROM t3;
|
||||
LAST_DAY(c1)
|
||||
NULL
|
||||
1999-12-31
|
||||
2000-01-31
|
||||
2006-12-31
|
||||
2008-02-29
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATE NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT MONTH(c1) FROM t3;
|
||||
MONTH(c1)
|
||||
1
|
||||
12
|
||||
1
|
||||
12
|
||||
2
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATETIME NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT MONTH(c1) FROM t3;
|
||||
MONTH(c1)
|
||||
1
|
||||
12
|
||||
1
|
||||
12
|
||||
2
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TIMESTAMP NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT MONTH(c1) FROM t3;
|
||||
MONTH(c1)
|
||||
0
|
||||
12
|
||||
1
|
||||
12
|
||||
2
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATE NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT MONTHNAME(c1) FROM t3;
|
||||
MONTHNAME(c1)
|
||||
January
|
||||
December
|
||||
January
|
||||
December
|
||||
February
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATETIME NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT MONTHNAME(c1) FROM t3;
|
||||
MONTHNAME(c1)
|
||||
January
|
||||
December
|
||||
January
|
||||
December
|
||||
February
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TIMESTAMP NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT MONTHNAME(c1) FROM t3;
|
||||
MONTHNAME(c1)
|
||||
NULL
|
||||
December
|
||||
January
|
||||
December
|
||||
February
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATE NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT QUARTER(c1) FROM t3;
|
||||
QUARTER(c1)
|
||||
1
|
||||
4
|
||||
1
|
||||
4
|
||||
1
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATETIME NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT QUARTER(c1) FROM t3;
|
||||
QUARTER(c1)
|
||||
1
|
||||
4
|
||||
1
|
||||
4
|
||||
1
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TIMESTAMP NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT QUARTER(c1) FROM t3;
|
||||
QUARTER(c1)
|
||||
0
|
||||
4
|
||||
1
|
||||
4
|
||||
1
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATE NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT TIMESTAMP(c1) FROM t3;
|
||||
TIMESTAMP(c1)
|
||||
1000-01-01 00:00:00
|
||||
1999-12-31 00:00:00
|
||||
2000-01-01 00:00:00
|
||||
2006-12-25 00:00:00
|
||||
2008-02-29 00:00:00
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATETIME NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT TIMESTAMP(c1) FROM t3;
|
||||
TIMESTAMP(c1)
|
||||
1000-01-01 00:00:00
|
||||
1999-12-31 00:00:00
|
||||
2000-01-01 00:00:00
|
||||
2006-12-25 00:00:00
|
||||
2008-02-29 00:00:00
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TIMESTAMP NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT TIMESTAMP(c1) FROM t3;
|
||||
TIMESTAMP(c1)
|
||||
0000-00-00 00:00:00
|
||||
1999-12-31 00:00:00
|
||||
2000-01-01 00:00:00
|
||||
2006-12-25 00:00:00
|
||||
2008-02-29 00:00:00
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATE NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT TO_DAYS(c1) FROM t3;
|
||||
TO_DAYS(c1)
|
||||
365243
|
||||
730484
|
||||
730485
|
||||
733035
|
||||
733466
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATETIME NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT TO_DAYS(c1) FROM t3;
|
||||
TO_DAYS(c1)
|
||||
365243
|
||||
730484
|
||||
730485
|
||||
733035
|
||||
733466
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TIMESTAMP NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT TO_DAYS(c1) FROM t3;
|
||||
TO_DAYS(c1)
|
||||
NULL
|
||||
730484
|
||||
730485
|
||||
733035
|
||||
733466
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATE NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT WEEK(c1) FROM t3;
|
||||
WEEK(c1)
|
||||
0
|
||||
52
|
||||
0
|
||||
52
|
||||
8
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATETIME NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT WEEK(c1) FROM t3;
|
||||
WEEK(c1)
|
||||
0
|
||||
52
|
||||
0
|
||||
52
|
||||
8
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TIMESTAMP NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT WEEK(c1) FROM t3;
|
||||
WEEK(c1)
|
||||
NULL
|
||||
52
|
||||
0
|
||||
52
|
||||
8
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATE NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT WEEKDAY(c1) FROM t3;
|
||||
WEEKDAY(c1)
|
||||
2
|
||||
4
|
||||
5
|
||||
0
|
||||
4
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATETIME NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT WEEKDAY(c1) FROM t3;
|
||||
WEEKDAY(c1)
|
||||
2
|
||||
4
|
||||
5
|
||||
0
|
||||
4
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TIMESTAMP NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT WEEKDAY(c1) FROM t3;
|
||||
WEEKDAY(c1)
|
||||
NULL
|
||||
4
|
||||
5
|
||||
0
|
||||
4
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATE NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT WEEKOFYEAR(c1) FROM t3;
|
||||
WEEKOFYEAR(c1)
|
||||
1
|
||||
52
|
||||
52
|
||||
52
|
||||
9
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATETIME NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT WEEKOFYEAR(c1) FROM t3;
|
||||
WEEKOFYEAR(c1)
|
||||
1
|
||||
52
|
||||
52
|
||||
52
|
||||
9
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TIMESTAMP NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT WEEKOFYEAR(c1) FROM t3;
|
||||
WEEKOFYEAR(c1)
|
||||
NULL
|
||||
52
|
||||
52
|
||||
52
|
||||
9
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATE NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT YEAR(c1) FROM t3;
|
||||
YEAR(c1)
|
||||
1000
|
||||
1999
|
||||
2000
|
||||
2006
|
||||
2008
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATETIME NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT YEAR(c1) FROM t3;
|
||||
YEAR(c1)
|
||||
1000
|
||||
1999
|
||||
2000
|
||||
2006
|
||||
2008
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TIMESTAMP NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT YEAR(c1) FROM t3;
|
||||
YEAR(c1)
|
||||
0
|
||||
1999
|
||||
2000
|
||||
2006
|
||||
2008
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATE NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT YEARWEEK(c1) FROM t3;
|
||||
YEARWEEK(c1)
|
||||
99952
|
||||
199952
|
||||
199952
|
||||
200652
|
||||
200808
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATETIME NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT YEARWEEK(c1) FROM t3;
|
||||
YEARWEEK(c1)
|
||||
99952
|
||||
199952
|
||||
199952
|
||||
200652
|
||||
200808
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TIMESTAMP NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01');
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t3 VALUES('1999-12-31');
|
||||
INSERT INTO t3 VALUES('2000-01-01');
|
||||
INSERT INTO t3 VALUES('2006-12-25');
|
||||
INSERT INTO t3 VALUES('2008-02-29');
|
||||
SELECT YEARWEEK(c1) FROM t3;
|
||||
YEARWEEK(c1)
|
||||
NULL
|
||||
199952
|
||||
199952
|
||||
200652
|
||||
200808
|
||||
DROP TABLE t3;
|
31
mysql-test/suite/engines/funcs/r/datetime_function.result
Normal file
31
mysql-test/suite/engines/funcs/r/datetime_function.result
Normal file
|
@ -0,0 +1,31 @@
|
|||
DROP TABLE IF EXISTS t3;
|
||||
CREATE TABLE t3(c1 DATE NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01 00:00:00');
|
||||
INSERT INTO t3 VALUES('1999-12-31 23:59:59');
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
INSERT INTO t3 VALUES('2000-01-01 00:00:00');
|
||||
INSERT INTO t3 VALUES('2008-02-29 13:13:13');
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 DATETIME NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01 00:00:00');
|
||||
INSERT INTO t3 VALUES('1999-12-31 23:59:59');
|
||||
INSERT INTO t3 VALUES('2000-01-01 00:00:00');
|
||||
INSERT INTO t3 VALUES('2008-02-29 13:13:13');
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TIMESTAMP NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01 00:00:00');
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t3 VALUES('1999-12-31 23:59:59');
|
||||
INSERT INTO t3 VALUES('2000-01-01 00:00:00');
|
||||
INSERT INTO t3 VALUES('2008-02-29 13:13:13');
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TIME NOT NULL);
|
||||
INSERT INTO t3 VALUES('1000-01-01 00:00:00');
|
||||
INSERT INTO t3 VALUES('1999-12-31 23:59:59');
|
||||
INSERT INTO t3 VALUES('2000-01-01 00:00:00');
|
||||
INSERT INTO t3 VALUES('2008-02-29 13:13:13');
|
||||
DROP TABLE t3;
|
379
mysql-test/suite/engines/funcs/r/db_alter_character_set.result
Normal file
379
mysql-test/suite/engines/funcs/r/db_alter_character_set.result
Normal file
|
@ -0,0 +1,379 @@
|
|||
DROP DATABASE IF EXISTS d8;
|
||||
SHOW CHARACTER SET;
|
||||
Charset Description Default collation Maxlen
|
||||
big5 Big5 Traditional Chinese big5_chinese_ci 2
|
||||
dec8 DEC West European dec8_swedish_ci 1
|
||||
cp850 DOS West European cp850_general_ci 1
|
||||
hp8 HP West European hp8_english_ci 1
|
||||
koi8r KOI8-R Relcom Russian koi8r_general_ci 1
|
||||
latin1 cp1252 West European latin1_swedish_ci 1
|
||||
latin2 ISO 8859-2 Central European latin2_general_ci 1
|
||||
swe7 7bit Swedish swe7_swedish_ci 1
|
||||
ascii US ASCII ascii_general_ci 1
|
||||
ujis EUC-JP Japanese ujis_japanese_ci 3
|
||||
sjis Shift-JIS Japanese sjis_japanese_ci 2
|
||||
hebrew ISO 8859-8 Hebrew hebrew_general_ci 1
|
||||
tis620 TIS620 Thai tis620_thai_ci 1
|
||||
euckr EUC-KR Korean euckr_korean_ci 2
|
||||
koi8u KOI8-U Ukrainian koi8u_general_ci 1
|
||||
gb2312 GB2312 Simplified Chinese gb2312_chinese_ci 2
|
||||
greek ISO 8859-7 Greek greek_general_ci 1
|
||||
cp1250 Windows Central European cp1250_general_ci 1
|
||||
gbk GBK Simplified Chinese gbk_chinese_ci 2
|
||||
latin5 ISO 8859-9 Turkish latin5_turkish_ci 1
|
||||
armscii8 ARMSCII-8 Armenian armscii8_general_ci 1
|
||||
utf8 UTF-8 Unicode utf8_general_ci 3
|
||||
ucs2 UCS-2 Unicode ucs2_general_ci 2
|
||||
cp866 DOS Russian cp866_general_ci 1
|
||||
keybcs2 DOS Kamenicky Czech-Slovak keybcs2_general_ci 1
|
||||
macce Mac Central European macce_general_ci 1
|
||||
macroman Mac West European macroman_general_ci 1
|
||||
cp852 DOS Central European cp852_general_ci 1
|
||||
latin7 ISO 8859-13 Baltic latin7_general_ci 1
|
||||
cp1251 Windows Cyrillic cp1251_general_ci 1
|
||||
cp1256 Windows Arabic cp1256_general_ci 1
|
||||
cp1257 Windows Baltic cp1257_general_ci 1
|
||||
binary Binary pseudo charset binary 1
|
||||
geostd8 GEOSTD8 Georgian geostd8_general_ci 1
|
||||
cp932 SJIS for Windows Japanese cp932_japanese_ci 2
|
||||
eucjpms UJIS for Windows Japanese eucjpms_japanese_ci 3
|
||||
CREATE DATABASE d8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 latin1 latin1_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER DATABASE d8 CHARACTER SET ascii;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 ascii ascii_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d8;
|
||||
CREATE DATABASE d8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 latin1 latin1_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER DATABASE d8 CHARACTER SET utf8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 utf8 utf8_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d8;
|
||||
CREATE DATABASE d8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 latin1 latin1_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER DATABASE d8 CHARACTER SET binary;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 binary binary NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d8;
|
||||
CREATE DATABASE d8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 latin1 latin1_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER DATABASE d8 CHARACTER SET swe7;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 swe7 swe7_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d8;
|
||||
CREATE DATABASE d8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 latin1 latin1_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER DATABASE d8 CHARACTER SET cp1251;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 cp1251 cp1251_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d8;
|
||||
CREATE DATABASE d8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 latin1 latin1_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER DATABASE d8 DEFAULT CHARACTER SET ascii;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 ascii ascii_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d8;
|
||||
CREATE DATABASE d8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 latin1 latin1_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER DATABASE d8 DEFAULT CHARACTER SET utf8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 utf8 utf8_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d8;
|
||||
CREATE DATABASE d8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 latin1 latin1_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER DATABASE d8 DEFAULT CHARACTER SET binary;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 binary binary NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d8;
|
||||
CREATE DATABASE d8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 latin1 latin1_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER DATABASE d8 DEFAULT CHARACTER SET swe7;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 swe7 swe7_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d8;
|
||||
CREATE DATABASE d8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 latin1 latin1_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER DATABASE d8 DEFAULT CHARACTER SET cp1251;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 cp1251 cp1251_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d8;
|
||||
CREATE DATABASE d8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 latin1 latin1_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER SCHEMA d8 CHARACTER SET ascii;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 ascii ascii_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d8;
|
||||
CREATE DATABASE d8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 latin1 latin1_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER SCHEMA d8 CHARACTER SET utf8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 utf8 utf8_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d8;
|
||||
CREATE DATABASE d8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 latin1 latin1_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER SCHEMA d8 CHARACTER SET binary;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 binary binary NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d8;
|
||||
CREATE DATABASE d8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 latin1 latin1_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER SCHEMA d8 CHARACTER SET swe7;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 swe7 swe7_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d8;
|
||||
CREATE DATABASE d8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 latin1 latin1_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER SCHEMA d8 CHARACTER SET cp1251;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 cp1251 cp1251_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d8;
|
||||
CREATE DATABASE d8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 latin1 latin1_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER SCHEMA d8 DEFAULT CHARACTER SET ascii;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 ascii ascii_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d8;
|
||||
CREATE DATABASE d8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 latin1 latin1_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER SCHEMA d8 DEFAULT CHARACTER SET utf8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 utf8 utf8_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d8;
|
||||
CREATE DATABASE d8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 latin1 latin1_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER SCHEMA d8 DEFAULT CHARACTER SET binary;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 binary binary NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d8;
|
||||
CREATE DATABASE d8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 latin1 latin1_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER SCHEMA d8 DEFAULT CHARACTER SET swe7;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 swe7 swe7_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d8;
|
||||
CREATE DATABASE d8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 latin1 latin1_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER SCHEMA d8 DEFAULT CHARACTER SET cp1251;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d8 cp1251 cp1251_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d8;
|
|
@ -0,0 +1,103 @@
|
|||
DROP DATABASE IF EXISTS d11;
|
||||
CREATE DATABASE d11 DEFAULT CHARACTER SET ascii DEFAULT COLLATE ascii_bin;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d11 ascii ascii_bin NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER DATABASE d11 CHARACTER SET utf8 COLLATE utf8_general_ci;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d11 utf8 utf8_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d11;
|
||||
CREATE DATABASE d11 DEFAULT CHARACTER SET ascii DEFAULT COLLATE ascii_bin;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d11 ascii ascii_bin NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER DATABASE d11 CHARACTER SET latin2 COLLATE latin2_general_ci;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d11 latin2 latin2_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d11;
|
||||
CREATE DATABASE d11 DEFAULT CHARACTER SET ascii DEFAULT COLLATE ascii_bin;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d11 ascii ascii_bin NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER DATABASE d11 CHARACTER SET cp1250 COLLATE cp1250_croatian_ci;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d11 cp1250 cp1250_croatian_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d11;
|
||||
CREATE DATABASE d11 DEFAULT CHARACTER SET ascii DEFAULT COLLATE ascii_bin;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d11 ascii ascii_bin NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER SCHEMA d11 CHARACTER SET utf8 COLLATE utf8_general_ci;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d11 utf8 utf8_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d11;
|
||||
CREATE DATABASE d11 DEFAULT CHARACTER SET ascii DEFAULT COLLATE ascii_bin;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d11 ascii ascii_bin NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER SCHEMA d11 CHARACTER SET latin2 COLLATE latin2_general_ci;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d11 latin2 latin2_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d11;
|
||||
CREATE DATABASE d11 DEFAULT CHARACTER SET ascii DEFAULT COLLATE ascii_bin;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d11 ascii ascii_bin NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER SCHEMA d11 CHARACTER SET cp1250 COLLATE cp1250_croatian_ci;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d11 cp1250 cp1250_croatian_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d11;
|
266
mysql-test/suite/engines/funcs/r/db_alter_collate_ascii.result
Normal file
266
mysql-test/suite/engines/funcs/r/db_alter_collate_ascii.result
Normal file
|
@ -0,0 +1,266 @@
|
|||
DROP DATABASE IF EXISTS d9;
|
||||
SHOW COLLATION;
|
||||
Collation Charset Id Default Compiled Sortlen
|
||||
big5_chinese_ci big5 1 Yes # #
|
||||
big5_bin big5 84 # #
|
||||
dec8_swedish_ci dec8 3 Yes # #
|
||||
dec8_bin dec8 69 # #
|
||||
cp850_general_ci cp850 4 Yes # #
|
||||
cp850_bin cp850 80 # #
|
||||
hp8_english_ci hp8 6 Yes # #
|
||||
hp8_bin hp8 72 # #
|
||||
koi8r_general_ci koi8r 7 Yes # #
|
||||
koi8r_bin koi8r 74 # #
|
||||
latin1_german1_ci latin1 5 # #
|
||||
latin1_swedish_ci latin1 8 Yes # #
|
||||
latin1_danish_ci latin1 15 # #
|
||||
latin1_german2_ci latin1 31 # #
|
||||
latin1_bin latin1 47 # #
|
||||
latin1_general_ci latin1 48 # #
|
||||
latin1_general_cs latin1 49 # #
|
||||
latin1_spanish_ci latin1 94 # #
|
||||
latin2_czech_cs latin2 2 # #
|
||||
latin2_general_ci latin2 9 Yes # #
|
||||
latin2_hungarian_ci latin2 21 # #
|
||||
latin2_croatian_ci latin2 27 # #
|
||||
latin2_bin latin2 77 # #
|
||||
swe7_swedish_ci swe7 10 Yes # #
|
||||
swe7_bin swe7 82 # #
|
||||
ascii_general_ci ascii 11 Yes # #
|
||||
ascii_bin ascii 65 # #
|
||||
ujis_japanese_ci ujis 12 Yes # #
|
||||
ujis_bin ujis 91 # #
|
||||
sjis_japanese_ci sjis 13 Yes # #
|
||||
sjis_bin sjis 88 # #
|
||||
hebrew_general_ci hebrew 16 Yes # #
|
||||
hebrew_bin hebrew 71 # #
|
||||
tis620_thai_ci tis620 18 Yes # #
|
||||
tis620_bin tis620 89 # #
|
||||
euckr_korean_ci euckr 19 Yes # #
|
||||
euckr_bin euckr 85 # #
|
||||
koi8u_general_ci koi8u 22 Yes # #
|
||||
koi8u_bin koi8u 75 # #
|
||||
gb2312_chinese_ci gb2312 24 Yes # #
|
||||
gb2312_bin gb2312 86 # #
|
||||
greek_general_ci greek 25 Yes # #
|
||||
greek_bin greek 70 # #
|
||||
cp1250_general_ci cp1250 26 Yes # #
|
||||
cp1250_czech_cs cp1250 34 # #
|
||||
cp1250_croatian_ci cp1250 44 # #
|
||||
cp1250_bin cp1250 66 # #
|
||||
cp1250_polish_ci cp1250 99 # #
|
||||
gbk_chinese_ci gbk 28 Yes # #
|
||||
gbk_bin gbk 87 # #
|
||||
latin5_turkish_ci latin5 30 Yes # #
|
||||
latin5_bin latin5 78 # #
|
||||
armscii8_general_ci armscii8 32 Yes # #
|
||||
armscii8_bin armscii8 64 # #
|
||||
utf8_general_ci utf8 33 Yes # #
|
||||
utf8_bin utf8 83 # #
|
||||
utf8_unicode_ci utf8 192 # #
|
||||
utf8_icelandic_ci utf8 193 # #
|
||||
utf8_latvian_ci utf8 194 # #
|
||||
utf8_romanian_ci utf8 195 # #
|
||||
utf8_slovenian_ci utf8 196 # #
|
||||
utf8_polish_ci utf8 197 # #
|
||||
utf8_estonian_ci utf8 198 # #
|
||||
utf8_spanish_ci utf8 199 # #
|
||||
utf8_swedish_ci utf8 200 # #
|
||||
utf8_turkish_ci utf8 201 # #
|
||||
utf8_czech_ci utf8 202 # #
|
||||
utf8_danish_ci utf8 203 # #
|
||||
utf8_lithuanian_ci utf8 204 # #
|
||||
utf8_slovak_ci utf8 205 # #
|
||||
utf8_spanish2_ci utf8 206 # #
|
||||
utf8_roman_ci utf8 207 # #
|
||||
utf8_persian_ci utf8 208 # #
|
||||
utf8_esperanto_ci utf8 209 # #
|
||||
utf8_hungarian_ci utf8 210 # #
|
||||
ucs2_general_ci ucs2 35 Yes # #
|
||||
ucs2_bin ucs2 90 # #
|
||||
ucs2_unicode_ci ucs2 128 # #
|
||||
ucs2_icelandic_ci ucs2 129 # #
|
||||
ucs2_latvian_ci ucs2 130 # #
|
||||
ucs2_romanian_ci ucs2 131 # #
|
||||
ucs2_slovenian_ci ucs2 132 # #
|
||||
ucs2_polish_ci ucs2 133 # #
|
||||
ucs2_estonian_ci ucs2 134 # #
|
||||
ucs2_spanish_ci ucs2 135 # #
|
||||
ucs2_swedish_ci ucs2 136 # #
|
||||
ucs2_turkish_ci ucs2 137 # #
|
||||
ucs2_czech_ci ucs2 138 # #
|
||||
ucs2_danish_ci ucs2 139 # #
|
||||
ucs2_lithuanian_ci ucs2 140 # #
|
||||
ucs2_slovak_ci ucs2 141 # #
|
||||
ucs2_spanish2_ci ucs2 142 # #
|
||||
ucs2_roman_ci ucs2 143 # #
|
||||
ucs2_persian_ci ucs2 144 # #
|
||||
ucs2_esperanto_ci ucs2 145 # #
|
||||
ucs2_hungarian_ci ucs2 146 # #
|
||||
cp866_general_ci cp866 36 Yes # #
|
||||
cp866_bin cp866 68 # #
|
||||
keybcs2_general_ci keybcs2 37 Yes # #
|
||||
keybcs2_bin keybcs2 73 # #
|
||||
macce_general_ci macce 38 Yes # #
|
||||
macce_bin macce 43 # #
|
||||
macroman_general_ci macroman 39 Yes # #
|
||||
macroman_bin macroman 53 # #
|
||||
cp852_general_ci cp852 40 Yes # #
|
||||
cp852_bin cp852 81 # #
|
||||
latin7_estonian_cs latin7 20 # #
|
||||
latin7_general_ci latin7 41 Yes # #
|
||||
latin7_general_cs latin7 42 # #
|
||||
latin7_bin latin7 79 # #
|
||||
cp1251_bulgarian_ci cp1251 14 # #
|
||||
cp1251_ukrainian_ci cp1251 23 # #
|
||||
cp1251_bin cp1251 50 # #
|
||||
cp1251_general_ci cp1251 51 Yes # #
|
||||
cp1251_general_cs cp1251 52 # #
|
||||
cp1256_general_ci cp1256 57 Yes # #
|
||||
cp1256_bin cp1256 67 # #
|
||||
cp1257_lithuanian_ci cp1257 29 # #
|
||||
cp1257_bin cp1257 58 # #
|
||||
cp1257_general_ci cp1257 59 Yes # #
|
||||
binary binary 63 Yes # #
|
||||
geostd8_general_ci geostd8 92 Yes # #
|
||||
geostd8_bin geostd8 93 # #
|
||||
cp932_japanese_ci cp932 95 Yes # #
|
||||
cp932_bin cp932 96 # #
|
||||
eucjpms_japanese_ci eucjpms 97 Yes # #
|
||||
eucjpms_bin eucjpms 98 # #
|
||||
CREATE DATABASE d9 DEFAULT CHARACTER SET ascii;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d9 ascii ascii_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER DATABASE d9 COLLATE ascii_bin;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d9 ascii ascii_bin NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d9;
|
||||
CREATE DATABASE d9 DEFAULT CHARACTER SET ascii;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d9 ascii ascii_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER DATABASE d9 DEFAULT COLLATE ascii_bin;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d9 ascii ascii_bin NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d9;
|
||||
CREATE DATABASE d9 DEFAULT CHARACTER SET ascii;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d9 ascii ascii_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER DATABASE d9 COLLATE ascii_general_ci;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d9 ascii ascii_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d9;
|
||||
CREATE DATABASE d9 DEFAULT CHARACTER SET ascii;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d9 ascii ascii_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER DATABASE d9 DEFAULT COLLATE ascii_general_ci;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d9 ascii ascii_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d9;
|
||||
CREATE DATABASE d9 DEFAULT CHARACTER SET ascii;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d9 ascii ascii_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER SCHEMA d9 COLLATE ascii_bin;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d9 ascii ascii_bin NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d9;
|
||||
CREATE DATABASE d9 DEFAULT CHARACTER SET ascii;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d9 ascii ascii_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER SCHEMA d9 DEFAULT COLLATE ascii_bin;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d9 ascii ascii_bin NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d9;
|
||||
CREATE DATABASE d9 DEFAULT CHARACTER SET ascii;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d9 ascii ascii_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER SCHEMA d9 COLLATE ascii_general_ci;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d9 ascii ascii_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d9;
|
||||
CREATE DATABASE d9 DEFAULT CHARACTER SET ascii;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d9 ascii ascii_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
ALTER SCHEMA d9 DEFAULT COLLATE ascii_general_ci;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d9 ascii ascii_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d9;
|
1558
mysql-test/suite/engines/funcs/r/db_alter_collate_utf8.result
Normal file
1558
mysql-test/suite/engines/funcs/r/db_alter_collate_utf8.result
Normal file
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,91 @@
|
|||
DROP DATABASE IF EXISTS d12;
|
||||
CREATE DATABASE d12 CHARACTER SET ascii;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d12 ascii ascii_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d12;
|
||||
CREATE DATABASE d12 CHARACTER SET utf8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d12 utf8 utf8_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d12;
|
||||
CREATE DATABASE d12 CHARACTER SET binary;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d12 binary binary NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d12;
|
||||
CREATE DATABASE d12 CHARACTER SET swe7;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d12 swe7 swe7_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d12;
|
||||
CREATE DATABASE d12 CHARACTER SET cp1251;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d12 cp1251 cp1251_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d12;
|
||||
CREATE SCHEMA d12 CHARACTER SET ascii;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d12 ascii ascii_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP SCHEMA d12;
|
||||
CREATE SCHEMA d12 CHARACTER SET utf8;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d12 utf8 utf8_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP SCHEMA d12;
|
||||
CREATE SCHEMA d12 CHARACTER SET binary;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d12 binary binary NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP SCHEMA d12;
|
||||
CREATE SCHEMA d12 CHARACTER SET swe7;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d12 swe7 swe7_swedish_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP SCHEMA d12;
|
||||
CREATE SCHEMA d12 CHARACTER SET cp1251;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d12 cp1251 cp1251_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP SCHEMA d12;
|
|
@ -0,0 +1,55 @@
|
|||
DROP DATABASE IF EXISTS d13;
|
||||
CREATE DATABASE d13 CHARACTER SET utf8 COLLATE utf8_general_ci;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d13 utf8 utf8_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d13;
|
||||
CREATE DATABASE d13 CHARACTER SET latin2 COLLATE latin2_general_ci;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d13 latin2 latin2_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d13;
|
||||
CREATE DATABASE d13 CHARACTER SET cp1250 COLLATE cp1250_croatian_ci;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d13 cp1250 cp1250_croatian_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP DATABASE d13;
|
||||
CREATE SCHEMA d13 CHARACTER SET utf8 COLLATE utf8_general_ci;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d13 utf8 utf8_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP SCHEMA d13;
|
||||
CREATE SCHEMA d13 CHARACTER SET latin2 COLLATE latin2_general_ci;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d13 latin2 latin2_general_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP SCHEMA d13;
|
||||
CREATE SCHEMA d13 CHARACTER SET cp1250 COLLATE cp1250_croatian_ci;
|
||||
SELECT * FROM INFORMATION_SCHEMA.SCHEMATA ORDER BY SCHEMA_NAME;
|
||||
CATALOG_NAME SCHEMA_NAME DEFAULT_CHARACTER_SET_NAME DEFAULT_COLLATION_NAME SQL_PATH
|
||||
NULL d13 cp1250 cp1250_croatian_ci NULL
|
||||
NULL information_schema utf8 utf8_general_ci NULL
|
||||
NULL mtr latin1 latin1_swedish_ci NULL
|
||||
NULL mysql latin1 latin1_swedish_ci NULL
|
||||
NULL test latin1 latin1_swedish_ci NULL
|
||||
DROP SCHEMA d13;
|
41
mysql-test/suite/engines/funcs/r/db_create_drop.result
Normal file
41
mysql-test/suite/engines/funcs/r/db_create_drop.result
Normal file
|
@ -0,0 +1,41 @@
|
|||
DROP DATABASE IF EXISTS d1;
|
||||
CREATE DATABASE d1;
|
||||
SHOW DATABASES;
|
||||
Database
|
||||
information_schema
|
||||
d1
|
||||
mtr
|
||||
mysql
|
||||
test
|
||||
SHOW DATABASES LIKE 'd%';
|
||||
Database (d%)
|
||||
d1
|
||||
SHOW DATABASES LIKE '%';
|
||||
Database (%)
|
||||
information_schema
|
||||
d1
|
||||
mtr
|
||||
mysql
|
||||
test
|
||||
USE d1;
|
||||
DROP DATABASE d1;
|
||||
CREATE SCHEMA d1;
|
||||
SHOW SCHEMAS;
|
||||
Database
|
||||
information_schema
|
||||
d1
|
||||
mtr
|
||||
mysql
|
||||
test
|
||||
SHOW SCHEMAS LIKE 'd%';
|
||||
Database (d%)
|
||||
d1
|
||||
SHOW SCHEMAS LIKE '%';
|
||||
Database (%)
|
||||
information_schema
|
||||
d1
|
||||
mtr
|
||||
mysql
|
||||
test
|
||||
USE d1;
|
||||
DROP SCHEMA d1;
|
18
mysql-test/suite/engines/funcs/r/db_create_error.result
Normal file
18
mysql-test/suite/engines/funcs/r/db_create_error.result
Normal file
|
@ -0,0 +1,18 @@
|
|||
DROP DATABASE IF EXISTS d4;
|
||||
CREATE DATABASE d4;
|
||||
SHOW DATABASES;
|
||||
Database
|
||||
information_schema
|
||||
d4
|
||||
mtr
|
||||
mysql
|
||||
test
|
||||
CREATE DATABASE d4;
|
||||
ERROR HY000: Can't create database 'd4'; database exists
|
||||
DROP DATABASE d4;
|
||||
SHOW DATABASES;
|
||||
Database
|
||||
information_schema
|
||||
mtr
|
||||
mysql
|
||||
test
|
|
@ -0,0 +1,14 @@
|
|||
SHOW DATABASES;
|
||||
Database
|
||||
information_schema
|
||||
mtr
|
||||
mysql
|
||||
test
|
||||
CREATE DATABASE mysql;
|
||||
ERROR HY000: Can't create database 'mysql'; database exists
|
||||
SHOW DATABASES;
|
||||
Database
|
||||
information_schema
|
||||
mtr
|
||||
mysql
|
||||
test
|
|
@ -0,0 +1,33 @@
|
|||
DROP DATABASE IF EXISTS d2;
|
||||
CREATE DATABASE d2;
|
||||
CREATE DATABASE IF NOT EXISTS d2;
|
||||
Warnings:
|
||||
Note 1007 Can't create database 'd2'; database exists
|
||||
SHOW DATABASES;
|
||||
Database
|
||||
information_schema
|
||||
d2
|
||||
mtr
|
||||
mysql
|
||||
test
|
||||
USE d2;
|
||||
DROP DATABASE d2;
|
||||
DROP DATABASE IF EXISTS d2;
|
||||
Warnings:
|
||||
Note 1008 Can't drop database 'd2'; database doesn't exist
|
||||
CREATE SCHEMA d2;
|
||||
CREATE SCHEMA IF NOT EXISTS d2;
|
||||
Warnings:
|
||||
Note 1007 Can't create database 'd2'; database exists
|
||||
SHOW DATABASES;
|
||||
Database
|
||||
information_schema
|
||||
d2
|
||||
mtr
|
||||
mysql
|
||||
test
|
||||
USE d2;
|
||||
DROP SCHEMA d2;
|
||||
DROP SCHEMA IF EXISTS d2;
|
||||
Warnings:
|
||||
Note 1008 Can't drop database 'd2'; database doesn't exist
|
18
mysql-test/suite/engines/funcs/r/db_drop_error.result
Normal file
18
mysql-test/suite/engines/funcs/r/db_drop_error.result
Normal file
|
@ -0,0 +1,18 @@
|
|||
DROP DATABASE IF EXISTS d5;
|
||||
CREATE DATABASE d5;
|
||||
SHOW DATABASES;
|
||||
Database
|
||||
information_schema
|
||||
d5
|
||||
mtr
|
||||
mysql
|
||||
test
|
||||
DROP DATABASE nond5;
|
||||
ERROR HY000: Can't drop database 'nond5'; database doesn't exist
|
||||
DROP DATABASE d5;
|
||||
SHOW DATABASES;
|
||||
Database
|
||||
information_schema
|
||||
mtr
|
||||
mysql
|
||||
test
|
18
mysql-test/suite/engines/funcs/r/db_use_error.result
Normal file
18
mysql-test/suite/engines/funcs/r/db_use_error.result
Normal file
|
@ -0,0 +1,18 @@
|
|||
DROP DATABASE IF EXISTS d6;
|
||||
CREATE DATABASE d6;
|
||||
SHOW DATABASES;
|
||||
Database
|
||||
information_schema
|
||||
d6
|
||||
mtr
|
||||
mysql
|
||||
test
|
||||
USE DATABASE nond6;
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DATABASE nond6' at line 1
|
||||
DROP DATABASE d6;
|
||||
SHOW DATABASES;
|
||||
Database
|
||||
information_schema
|
||||
mtr
|
||||
mysql
|
||||
test
|
151
mysql-test/suite/engines/funcs/r/de_autoinc.result
Normal file
151
mysql-test/suite/engines/funcs/r/de_autoinc.result
Normal file
|
@ -0,0 +1,151 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 TINYINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
||||
INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null);
|
||||
DELETE FROM t1 WHERE c1 >= 3;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
INSERT INTO t1 VALUES (null),(null),(null);
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
7
|
||||
8
|
||||
9
|
||||
DELETE FROM t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
INSERT INTO t1 VALUES (null),(null),(null);
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
12
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
||||
INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null);
|
||||
DELETE FROM t1 WHERE c1 >= 3;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
INSERT INTO t1 VALUES (null),(null),(null);
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
7
|
||||
8
|
||||
9
|
||||
DELETE FROM t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
INSERT INTO t1 VALUES (null),(null),(null);
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
12
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
||||
INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null);
|
||||
DELETE FROM t1 WHERE c1 >= 3;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
INSERT INTO t1 VALUES (null),(null),(null);
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
7
|
||||
8
|
||||
9
|
||||
DELETE FROM t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
INSERT INTO t1 VALUES (null),(null),(null);
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
12
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
||||
INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null);
|
||||
DELETE FROM t1 WHERE c1 >= 3;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
INSERT INTO t1 VALUES (null),(null),(null);
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
7
|
||||
8
|
||||
9
|
||||
DELETE FROM t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
INSERT INTO t1 VALUES (null),(null),(null);
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
12
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
||||
INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null);
|
||||
DELETE FROM t1 WHERE c1 >= 3;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
INSERT INTO t1 VALUES (null),(null),(null);
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
7
|
||||
8
|
||||
9
|
||||
DELETE FROM t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
INSERT INTO t1 VALUES (null),(null),(null);
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
12
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
||||
INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null);
|
||||
DELETE FROM t1 WHERE c1 >= 3;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
INSERT INTO t1 VALUES (null),(null),(null);
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
7
|
||||
8
|
||||
9
|
||||
DELETE FROM t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
INSERT INTO t1 VALUES (null),(null),(null);
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
12
|
||||
DROP TABLE t1;
|
91
mysql-test/suite/engines/funcs/r/de_calendar_range.result
Normal file
91
mysql-test/suite/engines/funcs/r/de_calendar_range.result
Normal file
|
@ -0,0 +1,91 @@
|
|||
DROP TABLE IF EXISTS t1,t2,t3;
|
||||
CREATE TABLE t1(c1 DATE NOT NULL PRIMARY KEY);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'2 02:01:01'));
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'3 03:01:01'));
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'4 04:01:01'));
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
2007-02-13
|
||||
2007-02-14
|
||||
2007-02-15
|
||||
2007-02-16
|
||||
2007-02-17
|
||||
DELETE FROM t1 WHERE c1 <= ADDTIME(NOW(),'2 02:01:01');
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
2007-02-16
|
||||
2007-02-17
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIME NOT NULL PRIMARY KEY);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'2 02:01:01'));
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'3 03:01:01'));
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'4 04:01:01'));
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
09:09:33
|
||||
10:10:34
|
||||
11:10:34
|
||||
12:10:34
|
||||
13:10:34
|
||||
DELETE FROM t1 WHERE c1 <= ADDTIME(NOW(),'2 02:01:01');
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
12:10:34
|
||||
13:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DATETIME NOT NULL PRIMARY KEY);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'2 02:01:01'));
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'3 03:01:01'));
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'4 04:01:01'));
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
2007-02-13 09:09:33
|
||||
2007-02-14 10:10:34
|
||||
2007-02-15 11:10:34
|
||||
2007-02-16 12:10:34
|
||||
2007-02-17 13:10:34
|
||||
DELETE FROM t1 WHERE c1 <= ADDTIME(NOW(),'2 02:01:01');
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
2007-02-16 12:10:34
|
||||
2007-02-17 13:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIMESTAMP NOT NULL PRIMARY KEY);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'2 02:01:01'));
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'3 03:01:01'));
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'4 04:01:01'));
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
2007-02-13 09:09:33
|
||||
2007-02-14 10:10:34
|
||||
2007-02-15 11:10:34
|
||||
2007-02-16 12:10:34
|
||||
2007-02-17 13:10:34
|
||||
DELETE FROM t1 WHERE c1 <= ADDTIME(NOW(),'2 02:01:01');
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
2007-02-16 12:10:34
|
||||
2007-02-17 13:10:34
|
||||
DROP TABLE t1;
|
169
mysql-test/suite/engines/funcs/r/de_ignore.result
Normal file
169
mysql-test/suite/engines/funcs/r/de_ignore.result
Normal file
|
@ -0,0 +1,169 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 TINYINT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE FROM t1 WHERE c1 >= 5;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
DELETE FROM t1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE FROM t1 WHERE c1 >= 5;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
DELETE FROM t1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE FROM t1 WHERE c1 >= 5;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
DELETE FROM t1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE FROM t1 WHERE c1 >= 5;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
DELETE FROM t1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE FROM t1 WHERE c1 >= 5;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
DELETE FROM t1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE FROM t1 WHERE c1 >= 5;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
DELETE FROM t1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TINYINT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE IGNORE FROM t1 WHERE c1 >= 5;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
DELETE IGNORE FROM t1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE IGNORE FROM t1 WHERE c1 >= 5;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
DELETE IGNORE FROM t1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE IGNORE FROM t1 WHERE c1 >= 5;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
DELETE IGNORE FROM t1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE IGNORE FROM t1 WHERE c1 >= 5;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
DELETE IGNORE FROM t1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE IGNORE FROM t1 WHERE c1 >= 5;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
DELETE IGNORE FROM t1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE IGNORE FROM t1 WHERE c1 >= 5;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
DELETE IGNORE FROM t1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
145
mysql-test/suite/engines/funcs/r/de_limit.result
Normal file
145
mysql-test/suite/engines/funcs/r/de_limit.result
Normal file
|
@ -0,0 +1,145 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 TINYINT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE FROM t1 ORDER BY c1 LIMIT 2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
DELETE FROM t1 WHERE c1 >= 5 ORDER BY c1 LIMIT 1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
2
|
||||
3
|
||||
4
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE FROM t1 ORDER BY c1 LIMIT 2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
DELETE FROM t1 WHERE c1 >= 5 ORDER BY c1 LIMIT 1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
2
|
||||
3
|
||||
4
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE FROM t1 ORDER BY c1 LIMIT 2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
DELETE FROM t1 WHERE c1 >= 5 ORDER BY c1 LIMIT 1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
2
|
||||
3
|
||||
4
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE FROM t1 ORDER BY c1 LIMIT 2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
DELETE FROM t1 WHERE c1 >= 5 ORDER BY c1 LIMIT 1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
2
|
||||
3
|
||||
4
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE FROM t1 ORDER BY c1 LIMIT 2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
DELETE FROM t1 WHERE c1 >= 5 ORDER BY c1 LIMIT 1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
2
|
||||
3
|
||||
4
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE FROM t1 ORDER BY c1 LIMIT 2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
DELETE FROM t1 WHERE c1 >= 5 ORDER BY c1 LIMIT 1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
2
|
||||
3
|
||||
4
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
DROP TABLE t1;
|
1107
mysql-test/suite/engines/funcs/r/de_multi_db_table.result
Normal file
1107
mysql-test/suite/engines/funcs/r/de_multi_db_table.result
Normal file
File diff suppressed because it is too large
Load diff
1107
mysql-test/suite/engines/funcs/r/de_multi_db_table_using.result
Normal file
1107
mysql-test/suite/engines/funcs/r/de_multi_db_table_using.result
Normal file
File diff suppressed because it is too large
Load diff
984
mysql-test/suite/engines/funcs/r/de_multi_table.result
Normal file
984
mysql-test/suite/engines/funcs/r/de_multi_table.result
Normal file
|
@ -0,0 +1,984 @@
|
|||
CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE QUICK t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE QUICK t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE QUICK t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE QUICK t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE QUICK t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE QUICK t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE QUICK t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE QUICK t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE QUICK t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE QUICK t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE QUICK t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE QUICK t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE IGNORE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE IGNORE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE IGNORE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE IGNORE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE IGNORE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE IGNORE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE IGNORE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE IGNORE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE IGNORE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE IGNORE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE IGNORE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE IGNORE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE QUICK IGNORE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE QUICK IGNORE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE QUICK IGNORE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE QUICK IGNORE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE QUICK IGNORE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE QUICK IGNORE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE QUICK IGNORE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE QUICK IGNORE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE QUICK IGNORE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE QUICK IGNORE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE QUICK IGNORE t1, t2 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE QUICK IGNORE t1.*, t2.*, t3 FROM t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
984
mysql-test/suite/engines/funcs/r/de_multi_table_using.result
Normal file
984
mysql-test/suite/engines/funcs/r/de_multi_table_using.result
Normal file
|
@ -0,0 +1,984 @@
|
|||
CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE QUICK FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE QUICK FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE QUICK FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE QUICK FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE QUICK FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE QUICK FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE QUICK FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE QUICK FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE QUICK FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE QUICK FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE QUICK FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE QUICK FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE IGNORE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE IGNORE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE IGNORE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE IGNORE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE IGNORE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE IGNORE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE IGNORE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE IGNORE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE IGNORE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE IGNORE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE IGNORE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE IGNORE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 TINYINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE QUICK IGNORE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE QUICK IGNORE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE QUICK IGNORE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE QUICK IGNORE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE QUICK IGNORE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE QUICK IGNORE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 INT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE QUICK IGNORE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE QUICK IGNORE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE QUICK IGNORE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE QUICK IGNORE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t2 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
CREATE TABLE t3 (c1 BIGINT NOT NULL PRIMARY KEY, c2 INTEGER, KEY(c2));
|
||||
INSERT INTO t1 VALUES(1,1),(2,2),(3,3),(4,4),(5,5);
|
||||
INSERT INTO t2 VALUES(11,1),(12,1),(13,1),(14,2),(15,6);
|
||||
INSERT INTO t3 VALUES(21,11),(22,11),(23,13),(24,14),(25,15);
|
||||
DELETE QUICK IGNORE FROM t1, t2 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DELETE QUICK IGNORE FROM t1, t2, t3 USING t1, t2, t3 WHERE t1.c1=t2.c2 AND t2.c1=t3.c2;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1 c2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1 c2
|
||||
12 1
|
||||
15 6
|
||||
SELECT * FROM t3 ORDER BY c1;
|
||||
c1 c2
|
||||
21 11
|
||||
22 11
|
||||
23 13
|
||||
24 14
|
||||
25 15
|
||||
DROP TABLE t1,t2,t3;
|
2017
mysql-test/suite/engines/funcs/r/de_number_range.result
Normal file
2017
mysql-test/suite/engines/funcs/r/de_number_range.result
Normal file
File diff suppressed because it is too large
Load diff
169
mysql-test/suite/engines/funcs/r/de_quick.result
Normal file
169
mysql-test/suite/engines/funcs/r/de_quick.result
Normal file
|
@ -0,0 +1,169 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 TINYINT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE FROM t1 WHERE c1 >= 5;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
DELETE FROM t1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE FROM t1 WHERE c1 >= 5;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
DELETE FROM t1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE FROM t1 WHERE c1 >= 5;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
DELETE FROM t1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE FROM t1 WHERE c1 >= 5;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
DELETE FROM t1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE FROM t1 WHERE c1 >= 5;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
DELETE FROM t1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE FROM t1 WHERE c1 >= 5;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
DELETE FROM t1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TINYINT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE QUICK FROM t1 WHERE c1 >= 5;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
DELETE QUICK FROM t1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE QUICK FROM t1 WHERE c1 >= 5;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
DELETE QUICK FROM t1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE QUICK FROM t1 WHERE c1 >= 5;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
DELETE QUICK FROM t1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE QUICK FROM t1 WHERE c1 >= 5;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
DELETE QUICK FROM t1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE QUICK FROM t1 WHERE c1 >= 5;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
DELETE QUICK FROM t1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
||||
DELETE QUICK FROM t1 WHERE c1 >= 5;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
DELETE QUICK FROM t1;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
769
mysql-test/suite/engines/funcs/r/de_string_range.result
Normal file
769
mysql-test/suite/engines/funcs/r/de_string_range.result
Normal file
|
@ -0,0 +1,769 @@
|
|||
DROP TABLE IF EXISTS t1,t2,t3;
|
||||
CREATE TABLE t1(c1 CHAR(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DELETE FROM t1 WHERE c1 = 'a';
|
||||
SELECT COUNT(c1) FROM t1 WHERE c1 = 'a';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 VARCHAR(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DELETE FROM t1 WHERE c1 = 'a';
|
||||
SELECT COUNT(c1) FROM t1 WHERE c1 = 'a';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 BINARY(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DELETE FROM t1 WHERE c1 = 'a';
|
||||
SELECT COUNT(c1) FROM t1 WHERE c1 = 'a';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 VARBINARY(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DELETE FROM t1 WHERE c1 = 'a';
|
||||
SELECT COUNT(c1) FROM t1 WHERE c1 = 'a';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 CHAR(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
7
|
||||
DELETE FROM t2 WHERE c1 = 'a';
|
||||
SELECT COUNT(c1) FROM t2 WHERE c1 = 'a';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
6
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 VARCHAR(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
7
|
||||
DELETE FROM t2 WHERE c1 = 'a';
|
||||
SELECT COUNT(c1) FROM t2 WHERE c1 = 'a';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
6
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 BINARY(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
7
|
||||
DELETE FROM t2 WHERE c1 = 'a';
|
||||
SELECT COUNT(c1) FROM t2 WHERE c1 = 'a';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
7
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 VARBINARY(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
7
|
||||
DELETE FROM t2 WHERE c1 = 'a';
|
||||
SELECT COUNT(c1) FROM t2 WHERE c1 = 'a';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
6
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 CHAR(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DELETE FROM t3 WHERE c1 = 'a';
|
||||
SELECT COUNT(c1) FROM t3 WHERE c1 = 'a';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
0
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 VARCHAR(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DELETE FROM t3 WHERE c1 = 'a';
|
||||
SELECT COUNT(c1) FROM t3 WHERE c1 = 'a';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
0
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 BINARY(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DELETE FROM t3 WHERE c1 = 'a';
|
||||
SELECT COUNT(c1) FROM t3 WHERE c1 = 'a';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 VARBINARY(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DELETE FROM t3 WHERE c1 = 'a';
|
||||
SELECT COUNT(c1) FROM t3 WHERE c1 = 'a';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
0
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 CHAR(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DELETE FROM t1 WHERE c1 = 'b';
|
||||
SELECT COUNT(c1) FROM t1 WHERE c1 = 'b';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 VARCHAR(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DELETE FROM t1 WHERE c1 = 'b';
|
||||
SELECT COUNT(c1) FROM t1 WHERE c1 = 'b';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 BINARY(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DELETE FROM t1 WHERE c1 = 'b';
|
||||
SELECT COUNT(c1) FROM t1 WHERE c1 = 'b';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 VARBINARY(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DELETE FROM t1 WHERE c1 = 'b';
|
||||
SELECT COUNT(c1) FROM t1 WHERE c1 = 'b';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 CHAR(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
7
|
||||
DELETE FROM t2 WHERE c1 = 'b';
|
||||
SELECT COUNT(c1) FROM t2 WHERE c1 = 'b';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
5
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 VARCHAR(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
7
|
||||
DELETE FROM t2 WHERE c1 = 'b';
|
||||
SELECT COUNT(c1) FROM t2 WHERE c1 = 'b';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
5
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 BINARY(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
7
|
||||
DELETE FROM t2 WHERE c1 = 'b';
|
||||
SELECT COUNT(c1) FROM t2 WHERE c1 = 'b';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
7
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 VARBINARY(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
7
|
||||
DELETE FROM t2 WHERE c1 = 'b';
|
||||
SELECT COUNT(c1) FROM t2 WHERE c1 = 'b';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
5
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 CHAR(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DELETE FROM t3 WHERE c1 = 'b';
|
||||
SELECT COUNT(c1) FROM t3 WHERE c1 = 'b';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 VARCHAR(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DELETE FROM t3 WHERE c1 = 'b';
|
||||
SELECT COUNT(c1) FROM t3 WHERE c1 = 'b';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 BINARY(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DELETE FROM t3 WHERE c1 = 'b';
|
||||
SELECT COUNT(c1) FROM t3 WHERE c1 = 'b';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 VARBINARY(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DELETE FROM t3 WHERE c1 = 'b';
|
||||
SELECT COUNT(c1) FROM t3 WHERE c1 = 'b';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 CHAR(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DELETE FROM t1 WHERE c1 = 'c';
|
||||
SELECT COUNT(c1) FROM t1 WHERE c1 = 'c';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 VARCHAR(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DELETE FROM t1 WHERE c1 = 'c';
|
||||
SELECT COUNT(c1) FROM t1 WHERE c1 = 'c';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 BINARY(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DELETE FROM t1 WHERE c1 = 'c';
|
||||
SELECT COUNT(c1) FROM t1 WHERE c1 = 'c';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 VARBINARY(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DELETE FROM t1 WHERE c1 = 'c';
|
||||
SELECT COUNT(c1) FROM t1 WHERE c1 = 'c';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 CHAR(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
7
|
||||
DELETE FROM t2 WHERE c1 = 'c';
|
||||
SELECT COUNT(c1) FROM t2 WHERE c1 = 'c';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
6
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 VARCHAR(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
7
|
||||
DELETE FROM t2 WHERE c1 = 'c';
|
||||
SELECT COUNT(c1) FROM t2 WHERE c1 = 'c';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
6
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 BINARY(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
7
|
||||
DELETE FROM t2 WHERE c1 = 'c';
|
||||
SELECT COUNT(c1) FROM t2 WHERE c1 = 'c';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
7
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 VARBINARY(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
7
|
||||
DELETE FROM t2 WHERE c1 = 'c';
|
||||
SELECT COUNT(c1) FROM t2 WHERE c1 = 'c';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
6
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 CHAR(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DELETE FROM t3 WHERE c1 = 'c';
|
||||
SELECT COUNT(c1) FROM t3 WHERE c1 = 'c';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 VARCHAR(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DELETE FROM t3 WHERE c1 = 'c';
|
||||
SELECT COUNT(c1) FROM t3 WHERE c1 = 'c';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 BINARY(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DELETE FROM t3 WHERE c1 = 'c';
|
||||
SELECT COUNT(c1) FROM t3 WHERE c1 = 'c';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 VARBINARY(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DELETE FROM t3 WHERE c1 = 'c';
|
||||
SELECT COUNT(c1) FROM t3 WHERE c1 = 'c';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 CHAR(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DELETE FROM t1 WHERE c1 = 'd';
|
||||
SELECT COUNT(c1) FROM t1 WHERE c1 = 'd';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 VARCHAR(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DELETE FROM t1 WHERE c1 = 'd';
|
||||
SELECT COUNT(c1) FROM t1 WHERE c1 = 'd';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 BINARY(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DELETE FROM t1 WHERE c1 = 'd';
|
||||
SELECT COUNT(c1) FROM t1 WHERE c1 = 'd';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 VARBINARY(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DELETE FROM t1 WHERE c1 = 'd';
|
||||
SELECT COUNT(c1) FROM t1 WHERE c1 = 'd';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t1;
|
||||
COUNT(c1)
|
||||
0
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 CHAR(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
7
|
||||
DELETE FROM t2 WHERE c1 = 'd';
|
||||
SELECT COUNT(c1) FROM t2 WHERE c1 = 'd';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
7
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 VARCHAR(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
7
|
||||
DELETE FROM t2 WHERE c1 = 'd';
|
||||
SELECT COUNT(c1) FROM t2 WHERE c1 = 'd';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
7
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 BINARY(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
7
|
||||
DELETE FROM t2 WHERE c1 = 'd';
|
||||
SELECT COUNT(c1) FROM t2 WHERE c1 = 'd';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
7
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 VARBINARY(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
7
|
||||
DELETE FROM t2 WHERE c1 = 'd';
|
||||
SELECT COUNT(c1) FROM t2 WHERE c1 = 'd';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t2;
|
||||
COUNT(c1)
|
||||
7
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 CHAR(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DELETE FROM t3 WHERE c1 = 'd';
|
||||
SELECT COUNT(c1) FROM t3 WHERE c1 = 'd';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 VARCHAR(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DELETE FROM t3 WHERE c1 = 'd';
|
||||
SELECT COUNT(c1) FROM t3 WHERE c1 = 'd';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 BINARY(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DELETE FROM t3 WHERE c1 = 'd';
|
||||
SELECT COUNT(c1) FROM t3 WHERE c1 = 'd';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DROP TABLE t1,t2,t3;
|
||||
CREATE TABLE t1(c1 VARBINARY(10) NOT NULL);
|
||||
CREATE TABLE t2(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
CREATE TABLE t3(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES('a');
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DELETE FROM t3 WHERE c1 = 'd';
|
||||
SELECT COUNT(c1) FROM t3 WHERE c1 = 'd';
|
||||
COUNT(c1)
|
||||
0
|
||||
SELECT COUNT(c1) FROM t3;
|
||||
COUNT(c1)
|
||||
1
|
||||
DROP TABLE t1,t2,t3;
|
49
mysql-test/suite/engines/funcs/r/de_truncate.result
Normal file
49
mysql-test/suite/engines/funcs/r/de_truncate.result
Normal file
|
@ -0,0 +1,49 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
TRUNCATE t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
TRUNCATE t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
TRUNCATE t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
TRUNCATE t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 CHAR(10) NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
TRUNCATE TABLE t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARCHAR(10) NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
TRUNCATE TABLE t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BINARY(10) NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
TRUNCATE TABLE t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARBINARY(10) NOT NULL);
|
||||
INSERT INTO t1 (c1) VALUES('a'),('aaa'),('b'),('b'),('bb'),('bbb'),('c');
|
||||
TRUNCATE TABLE t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
DROP TABLE t1;
|
145
mysql-test/suite/engines/funcs/r/de_truncate_autoinc.result
Normal file
145
mysql-test/suite/engines/funcs/r/de_truncate_autoinc.result
Normal file
|
@ -0,0 +1,145 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 TINYINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
||||
INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null);
|
||||
TRUNCATE t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
INSERT INTO t1 VALUES (null),(null),(null);
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
||||
INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null);
|
||||
TRUNCATE t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
INSERT INTO t1 VALUES (null),(null),(null);
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
||||
INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null);
|
||||
TRUNCATE t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
INSERT INTO t1 VALUES (null),(null),(null);
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
||||
INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null);
|
||||
TRUNCATE t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
INSERT INTO t1 VALUES (null),(null),(null);
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
||||
INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null);
|
||||
TRUNCATE t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
INSERT INTO t1 VALUES (null),(null),(null);
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
||||
INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null);
|
||||
TRUNCATE t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
INSERT INTO t1 VALUES (null),(null),(null);
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TINYINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
||||
INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null);
|
||||
TRUNCATE TABLE t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
INSERT INTO t1 VALUES (null),(null),(null);
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
||||
INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null);
|
||||
TRUNCATE TABLE t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
INSERT INTO t1 VALUES (null),(null),(null);
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
||||
INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null);
|
||||
TRUNCATE TABLE t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
INSERT INTO t1 VALUES (null),(null),(null);
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
||||
INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null);
|
||||
TRUNCATE TABLE t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
INSERT INTO t1 VALUES (null),(null),(null);
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
||||
INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null);
|
||||
TRUNCATE TABLE t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
INSERT INTO t1 VALUES (null),(null),(null);
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
3
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
||||
INSERT INTO t1 VALUES (null),(null),(null),(null),(null),(null);
|
||||
TRUNCATE TABLE t1 ;
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
INSERT INTO t1 VALUES (null),(null),(null);
|
||||
SELECT * FROM t1 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
3
|
||||
DROP TABLE t1;
|
3361
mysql-test/suite/engines/funcs/r/fu_aggregate_avg_number.result
Normal file
3361
mysql-test/suite/engines/funcs/r/fu_aggregate_avg_number.result
Normal file
File diff suppressed because it is too large
Load diff
3361
mysql-test/suite/engines/funcs/r/fu_aggregate_count_number.result
Normal file
3361
mysql-test/suite/engines/funcs/r/fu_aggregate_count_number.result
Normal file
File diff suppressed because it is too large
Load diff
3361
mysql-test/suite/engines/funcs/r/fu_aggregate_max_number.result
Normal file
3361
mysql-test/suite/engines/funcs/r/fu_aggregate_max_number.result
Normal file
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,91 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 VARCHAR(10), c2 VARCHAR(10), c3 TINYINT);
|
||||
INSERT INTO t1 VALUES ('a','b',0), ('a','b',1), ('a','b',2), ('a','b',3), ('a','b',4), ('a','b',5), ('a','b',6), ('a','b',7), ('a','b',8), ('a','b',9);
|
||||
SELECT c1,c2,c3 FROM t1 ORDER BY c3 DESC LIMIT 1;
|
||||
c1 c2 c3
|
||||
a b 9
|
||||
SELECT c1,MAX(c3) FROM t1 GROUP BY c1;
|
||||
c1 MAX(c3)
|
||||
a 9
|
||||
SELECT c1,c2,c3 FROM t1 WHERE c3=(SELECT MAX(c3) FROM t1);
|
||||
c1 c2 c3
|
||||
a b 9
|
||||
SELECT c1,c2,c3 FROM t1 WHERE c3=(SELECT MAX(t11.c3) FROM t1 AS t11 WHERE t1.c1 = t11.c1);
|
||||
c1 c2 c3
|
||||
a b 9
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARCHAR(10), c2 VARCHAR(10), c3 SMALLINT);
|
||||
INSERT INTO t1 VALUES ('a','b',0), ('a','b',1), ('a','b',2), ('a','b',3), ('a','b',4), ('a','b',5), ('a','b',6), ('a','b',7), ('a','b',8), ('a','b',9);
|
||||
SELECT c1,c2,c3 FROM t1 ORDER BY c3 DESC LIMIT 1;
|
||||
c1 c2 c3
|
||||
a b 9
|
||||
SELECT c1,MAX(c3) FROM t1 GROUP BY c1;
|
||||
c1 MAX(c3)
|
||||
a 9
|
||||
SELECT c1,c2,c3 FROM t1 WHERE c3=(SELECT MAX(c3) FROM t1);
|
||||
c1 c2 c3
|
||||
a b 9
|
||||
SELECT c1,c2,c3 FROM t1 WHERE c3=(SELECT MAX(t11.c3) FROM t1 AS t11 WHERE t1.c1 = t11.c1);
|
||||
c1 c2 c3
|
||||
a b 9
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARCHAR(10), c2 VARCHAR(10), c3 MEDIUMINT);
|
||||
INSERT INTO t1 VALUES ('a','b',0), ('a','b',1), ('a','b',2), ('a','b',3), ('a','b',4), ('a','b',5), ('a','b',6), ('a','b',7), ('a','b',8), ('a','b',9);
|
||||
SELECT c1,c2,c3 FROM t1 ORDER BY c3 DESC LIMIT 1;
|
||||
c1 c2 c3
|
||||
a b 9
|
||||
SELECT c1,MAX(c3) FROM t1 GROUP BY c1;
|
||||
c1 MAX(c3)
|
||||
a 9
|
||||
SELECT c1,c2,c3 FROM t1 WHERE c3=(SELECT MAX(c3) FROM t1);
|
||||
c1 c2 c3
|
||||
a b 9
|
||||
SELECT c1,c2,c3 FROM t1 WHERE c3=(SELECT MAX(t11.c3) FROM t1 AS t11 WHERE t1.c1 = t11.c1);
|
||||
c1 c2 c3
|
||||
a b 9
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARCHAR(10), c2 VARCHAR(10), c3 INT);
|
||||
INSERT INTO t1 VALUES ('a','b',0), ('a','b',1), ('a','b',2), ('a','b',3), ('a','b',4), ('a','b',5), ('a','b',6), ('a','b',7), ('a','b',8), ('a','b',9);
|
||||
SELECT c1,c2,c3 FROM t1 ORDER BY c3 DESC LIMIT 1;
|
||||
c1 c2 c3
|
||||
a b 9
|
||||
SELECT c1,MAX(c3) FROM t1 GROUP BY c1;
|
||||
c1 MAX(c3)
|
||||
a 9
|
||||
SELECT c1,c2,c3 FROM t1 WHERE c3=(SELECT MAX(c3) FROM t1);
|
||||
c1 c2 c3
|
||||
a b 9
|
||||
SELECT c1,c2,c3 FROM t1 WHERE c3=(SELECT MAX(t11.c3) FROM t1 AS t11 WHERE t1.c1 = t11.c1);
|
||||
c1 c2 c3
|
||||
a b 9
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARCHAR(10), c2 VARCHAR(10), c3 INTEGER);
|
||||
INSERT INTO t1 VALUES ('a','b',0), ('a','b',1), ('a','b',2), ('a','b',3), ('a','b',4), ('a','b',5), ('a','b',6), ('a','b',7), ('a','b',8), ('a','b',9);
|
||||
SELECT c1,c2,c3 FROM t1 ORDER BY c3 DESC LIMIT 1;
|
||||
c1 c2 c3
|
||||
a b 9
|
||||
SELECT c1,MAX(c3) FROM t1 GROUP BY c1;
|
||||
c1 MAX(c3)
|
||||
a 9
|
||||
SELECT c1,c2,c3 FROM t1 WHERE c3=(SELECT MAX(c3) FROM t1);
|
||||
c1 c2 c3
|
||||
a b 9
|
||||
SELECT c1,c2,c3 FROM t1 WHERE c3=(SELECT MAX(t11.c3) FROM t1 AS t11 WHERE t1.c1 = t11.c1);
|
||||
c1 c2 c3
|
||||
a b 9
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARCHAR(10), c2 VARCHAR(10), c3 BIGINT);
|
||||
INSERT INTO t1 VALUES ('a','b',0), ('a','b',1), ('a','b',2), ('a','b',3), ('a','b',4), ('a','b',5), ('a','b',6), ('a','b',7), ('a','b',8), ('a','b',9);
|
||||
SELECT c1,c2,c3 FROM t1 ORDER BY c3 DESC LIMIT 1;
|
||||
c1 c2 c3
|
||||
a b 9
|
||||
SELECT c1,MAX(c3) FROM t1 GROUP BY c1;
|
||||
c1 MAX(c3)
|
||||
a 9
|
||||
SELECT c1,c2,c3 FROM t1 WHERE c3=(SELECT MAX(c3) FROM t1);
|
||||
c1 c2 c3
|
||||
a b 9
|
||||
SELECT c1,c2,c3 FROM t1 WHERE c3=(SELECT MAX(t11.c3) FROM t1 AS t11 WHERE t1.c1 = t11.c1);
|
||||
c1 c2 c3
|
||||
a b 9
|
||||
DROP TABLE t1;
|
3361
mysql-test/suite/engines/funcs/r/fu_aggregate_min_number.result
Normal file
3361
mysql-test/suite/engines/funcs/r/fu_aggregate_min_number.result
Normal file
File diff suppressed because it is too large
Load diff
3361
mysql-test/suite/engines/funcs/r/fu_aggregate_sum_number.result
Normal file
3361
mysql-test/suite/engines/funcs/r/fu_aggregate_sum_number.result
Normal file
File diff suppressed because it is too large
Load diff
511
mysql-test/suite/engines/funcs/r/general_no_data.result
Normal file
511
mysql-test/suite/engines/funcs/r/general_no_data.result
Normal file
|
@ -0,0 +1,511 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 TINYINT NOT NULL);
|
||||
SELECT MAX(c1) AS value FROM t1;
|
||||
value
|
||||
NULL
|
||||
SELECT MAX(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
NULL
|
||||
SELECT MAX(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
NULL
|
||||
SELECT MAX(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
NULL
|
||||
SELECT MAX(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NOT NULL);
|
||||
SELECT MAX(c1) AS value FROM t1;
|
||||
value
|
||||
NULL
|
||||
SELECT MAX(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
NULL
|
||||
SELECT MAX(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
NULL
|
||||
SELECT MAX(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
NULL
|
||||
SELECT MAX(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NOT NULL);
|
||||
SELECT MAX(c1) AS value FROM t1;
|
||||
value
|
||||
NULL
|
||||
SELECT MAX(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
NULL
|
||||
SELECT MAX(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
NULL
|
||||
SELECT MAX(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
NULL
|
||||
SELECT MAX(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NOT NULL);
|
||||
SELECT MAX(c1) AS value FROM t1;
|
||||
value
|
||||
NULL
|
||||
SELECT MAX(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
NULL
|
||||
SELECT MAX(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
NULL
|
||||
SELECT MAX(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
NULL
|
||||
SELECT MAX(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NOT NULL);
|
||||
SELECT MAX(c1) AS value FROM t1;
|
||||
value
|
||||
NULL
|
||||
SELECT MAX(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
NULL
|
||||
SELECT MAX(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
NULL
|
||||
SELECT MAX(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
NULL
|
||||
SELECT MAX(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NOT NULL);
|
||||
SELECT MAX(c1) AS value FROM t1;
|
||||
value
|
||||
NULL
|
||||
SELECT MAX(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
NULL
|
||||
SELECT MAX(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
NULL
|
||||
SELECT MAX(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
NULL
|
||||
SELECT MAX(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TINYINT NOT NULL);
|
||||
SELECT MIN(c1) AS value FROM t1;
|
||||
value
|
||||
NULL
|
||||
SELECT MIN(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
NULL
|
||||
SELECT MIN(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
NULL
|
||||
SELECT MIN(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
NULL
|
||||
SELECT MIN(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NOT NULL);
|
||||
SELECT MIN(c1) AS value FROM t1;
|
||||
value
|
||||
NULL
|
||||
SELECT MIN(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
NULL
|
||||
SELECT MIN(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
NULL
|
||||
SELECT MIN(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
NULL
|
||||
SELECT MIN(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NOT NULL);
|
||||
SELECT MIN(c1) AS value FROM t1;
|
||||
value
|
||||
NULL
|
||||
SELECT MIN(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
NULL
|
||||
SELECT MIN(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
NULL
|
||||
SELECT MIN(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
NULL
|
||||
SELECT MIN(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NOT NULL);
|
||||
SELECT MIN(c1) AS value FROM t1;
|
||||
value
|
||||
NULL
|
||||
SELECT MIN(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
NULL
|
||||
SELECT MIN(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
NULL
|
||||
SELECT MIN(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
NULL
|
||||
SELECT MIN(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NOT NULL);
|
||||
SELECT MIN(c1) AS value FROM t1;
|
||||
value
|
||||
NULL
|
||||
SELECT MIN(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
NULL
|
||||
SELECT MIN(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
NULL
|
||||
SELECT MIN(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
NULL
|
||||
SELECT MIN(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NOT NULL);
|
||||
SELECT MIN(c1) AS value FROM t1;
|
||||
value
|
||||
NULL
|
||||
SELECT MIN(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
NULL
|
||||
SELECT MIN(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
NULL
|
||||
SELECT MIN(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
NULL
|
||||
SELECT MIN(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TINYINT NOT NULL);
|
||||
SELECT AVG(c1) AS value FROM t1;
|
||||
value
|
||||
NULL
|
||||
SELECT AVG(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
NULL
|
||||
SELECT AVG(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
NULL
|
||||
SELECT AVG(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
NULL
|
||||
SELECT AVG(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NOT NULL);
|
||||
SELECT AVG(c1) AS value FROM t1;
|
||||
value
|
||||
NULL
|
||||
SELECT AVG(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
NULL
|
||||
SELECT AVG(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
NULL
|
||||
SELECT AVG(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
NULL
|
||||
SELECT AVG(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NOT NULL);
|
||||
SELECT AVG(c1) AS value FROM t1;
|
||||
value
|
||||
NULL
|
||||
SELECT AVG(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
NULL
|
||||
SELECT AVG(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
NULL
|
||||
SELECT AVG(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
NULL
|
||||
SELECT AVG(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NOT NULL);
|
||||
SELECT AVG(c1) AS value FROM t1;
|
||||
value
|
||||
NULL
|
||||
SELECT AVG(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
NULL
|
||||
SELECT AVG(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
NULL
|
||||
SELECT AVG(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
NULL
|
||||
SELECT AVG(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NOT NULL);
|
||||
SELECT AVG(c1) AS value FROM t1;
|
||||
value
|
||||
NULL
|
||||
SELECT AVG(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
NULL
|
||||
SELECT AVG(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
NULL
|
||||
SELECT AVG(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
NULL
|
||||
SELECT AVG(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NOT NULL);
|
||||
SELECT AVG(c1) AS value FROM t1;
|
||||
value
|
||||
NULL
|
||||
SELECT AVG(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
NULL
|
||||
SELECT AVG(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
NULL
|
||||
SELECT AVG(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
NULL
|
||||
SELECT AVG(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TINYINT NOT NULL);
|
||||
SELECT SUM(c1) AS value FROM t1;
|
||||
value
|
||||
NULL
|
||||
SELECT SUM(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
NULL
|
||||
SELECT SUM(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
NULL
|
||||
SELECT SUM(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
NULL
|
||||
SELECT SUM(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NOT NULL);
|
||||
SELECT SUM(c1) AS value FROM t1;
|
||||
value
|
||||
NULL
|
||||
SELECT SUM(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
NULL
|
||||
SELECT SUM(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
NULL
|
||||
SELECT SUM(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
NULL
|
||||
SELECT SUM(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NOT NULL);
|
||||
SELECT SUM(c1) AS value FROM t1;
|
||||
value
|
||||
NULL
|
||||
SELECT SUM(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
NULL
|
||||
SELECT SUM(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
NULL
|
||||
SELECT SUM(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
NULL
|
||||
SELECT SUM(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NOT NULL);
|
||||
SELECT SUM(c1) AS value FROM t1;
|
||||
value
|
||||
NULL
|
||||
SELECT SUM(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
NULL
|
||||
SELECT SUM(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
NULL
|
||||
SELECT SUM(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
NULL
|
||||
SELECT SUM(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NOT NULL);
|
||||
SELECT SUM(c1) AS value FROM t1;
|
||||
value
|
||||
NULL
|
||||
SELECT SUM(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
NULL
|
||||
SELECT SUM(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
NULL
|
||||
SELECT SUM(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
NULL
|
||||
SELECT SUM(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NOT NULL);
|
||||
SELECT SUM(c1) AS value FROM t1;
|
||||
value
|
||||
NULL
|
||||
SELECT SUM(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
NULL
|
||||
SELECT SUM(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
NULL
|
||||
SELECT SUM(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
NULL
|
||||
SELECT SUM(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TINYINT NOT NULL);
|
||||
SELECT COUNT(c1) AS value FROM t1;
|
||||
value
|
||||
0
|
||||
SELECT COUNT(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
0
|
||||
SELECT COUNT(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
0
|
||||
SELECT COUNT(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
0
|
||||
SELECT COUNT(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
0
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NOT NULL);
|
||||
SELECT COUNT(c1) AS value FROM t1;
|
||||
value
|
||||
0
|
||||
SELECT COUNT(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
0
|
||||
SELECT COUNT(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
0
|
||||
SELECT COUNT(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
0
|
||||
SELECT COUNT(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
0
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NOT NULL);
|
||||
SELECT COUNT(c1) AS value FROM t1;
|
||||
value
|
||||
0
|
||||
SELECT COUNT(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
0
|
||||
SELECT COUNT(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
0
|
||||
SELECT COUNT(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
0
|
||||
SELECT COUNT(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
0
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NOT NULL);
|
||||
SELECT COUNT(c1) AS value FROM t1;
|
||||
value
|
||||
0
|
||||
SELECT COUNT(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
0
|
||||
SELECT COUNT(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
0
|
||||
SELECT COUNT(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
0
|
||||
SELECT COUNT(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
0
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NOT NULL);
|
||||
SELECT COUNT(c1) AS value FROM t1;
|
||||
value
|
||||
0
|
||||
SELECT COUNT(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
0
|
||||
SELECT COUNT(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
0
|
||||
SELECT COUNT(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
0
|
||||
SELECT COUNT(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
0
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NOT NULL);
|
||||
SELECT COUNT(c1) AS value FROM t1;
|
||||
value
|
||||
0
|
||||
SELECT COUNT(c1) AS postive_value FROM t1 WHERE c1 > 0;
|
||||
postive_value
|
||||
0
|
||||
SELECT COUNT(c1) AS negative_value FROM t1 WHERE c1 < 0;
|
||||
negative_value
|
||||
0
|
||||
SELECT COUNT(c1) AS zero_value FROM t1 WHERE c1 = 0;
|
||||
zero_value
|
||||
0
|
||||
SELECT COUNT(c1) AS no_results FROM t1 WHERE c1 = 2;
|
||||
no_results
|
||||
0
|
||||
DROP TABLE t1;
|
661
mysql-test/suite/engines/funcs/r/general_not_null.result
Normal file
661
mysql-test/suite/engines/funcs/r/general_not_null.result
Normal file
|
@ -0,0 +1,661 @@
|
|||
DROP TABLE IF EXISTS t2;
|
||||
CREATE TABLE t2(c1 TINYINT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT MAX(c1) AS value FROM t2;
|
||||
value
|
||||
16
|
||||
SELECT MAX(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
16
|
||||
SELECT MAX(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
-4
|
||||
SELECT MAX(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
0
|
||||
SELECT MAX(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 SMALLINT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT MAX(c1) AS value FROM t2;
|
||||
value
|
||||
16
|
||||
SELECT MAX(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
16
|
||||
SELECT MAX(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
-4
|
||||
SELECT MAX(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
0
|
||||
SELECT MAX(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 MEDIUMINT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT MAX(c1) AS value FROM t2;
|
||||
value
|
||||
16
|
||||
SELECT MAX(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
16
|
||||
SELECT MAX(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
-4
|
||||
SELECT MAX(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
0
|
||||
SELECT MAX(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 INT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT MAX(c1) AS value FROM t2;
|
||||
value
|
||||
16
|
||||
SELECT MAX(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
16
|
||||
SELECT MAX(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
-4
|
||||
SELECT MAX(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
0
|
||||
SELECT MAX(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 INTEGER NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT MAX(c1) AS value FROM t2;
|
||||
value
|
||||
16
|
||||
SELECT MAX(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
16
|
||||
SELECT MAX(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
-4
|
||||
SELECT MAX(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
0
|
||||
SELECT MAX(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 BIGINT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT MAX(c1) AS value FROM t2;
|
||||
value
|
||||
16
|
||||
SELECT MAX(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
16
|
||||
SELECT MAX(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
-4
|
||||
SELECT MAX(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
0
|
||||
SELECT MAX(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 TINYINT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT MIN(c1) AS value FROM t2;
|
||||
value
|
||||
-9
|
||||
SELECT MIN(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
1
|
||||
SELECT MIN(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
-9
|
||||
SELECT MIN(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
0
|
||||
SELECT MIN(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 SMALLINT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT MIN(c1) AS value FROM t2;
|
||||
value
|
||||
-9
|
||||
SELECT MIN(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
1
|
||||
SELECT MIN(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
-9
|
||||
SELECT MIN(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
0
|
||||
SELECT MIN(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 MEDIUMINT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT MIN(c1) AS value FROM t2;
|
||||
value
|
||||
-9
|
||||
SELECT MIN(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
1
|
||||
SELECT MIN(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
-9
|
||||
SELECT MIN(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
0
|
||||
SELECT MIN(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 INT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT MIN(c1) AS value FROM t2;
|
||||
value
|
||||
-9
|
||||
SELECT MIN(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
1
|
||||
SELECT MIN(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
-9
|
||||
SELECT MIN(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
0
|
||||
SELECT MIN(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 INTEGER NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT MIN(c1) AS value FROM t2;
|
||||
value
|
||||
-9
|
||||
SELECT MIN(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
1
|
||||
SELECT MIN(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
-9
|
||||
SELECT MIN(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
0
|
||||
SELECT MIN(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 BIGINT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT MIN(c1) AS value FROM t2;
|
||||
value
|
||||
-9
|
||||
SELECT MIN(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
1
|
||||
SELECT MIN(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
-9
|
||||
SELECT MIN(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
0
|
||||
SELECT MIN(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 TINYINT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT AVG(c1) AS value FROM t2;
|
||||
value
|
||||
0.8000
|
||||
SELECT AVG(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
8.5000
|
||||
SELECT AVG(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
-6.5000
|
||||
SELECT AVG(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
0.0000
|
||||
SELECT AVG(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 SMALLINT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT AVG(c1) AS value FROM t2;
|
||||
value
|
||||
0.8000
|
||||
SELECT AVG(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
8.5000
|
||||
SELECT AVG(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
-6.5000
|
||||
SELECT AVG(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
0.0000
|
||||
SELECT AVG(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 MEDIUMINT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT AVG(c1) AS value FROM t2;
|
||||
value
|
||||
0.8000
|
||||
SELECT AVG(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
8.5000
|
||||
SELECT AVG(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
-6.5000
|
||||
SELECT AVG(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
0.0000
|
||||
SELECT AVG(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 INT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT AVG(c1) AS value FROM t2;
|
||||
value
|
||||
0.8000
|
||||
SELECT AVG(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
8.5000
|
||||
SELECT AVG(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
-6.5000
|
||||
SELECT AVG(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
0.0000
|
||||
SELECT AVG(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 INTEGER NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT AVG(c1) AS value FROM t2;
|
||||
value
|
||||
0.8000
|
||||
SELECT AVG(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
8.5000
|
||||
SELECT AVG(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
-6.5000
|
||||
SELECT AVG(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
0.0000
|
||||
SELECT AVG(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 BIGINT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT AVG(c1) AS value FROM t2;
|
||||
value
|
||||
0.8000
|
||||
SELECT AVG(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
8.5000
|
||||
SELECT AVG(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
-6.5000
|
||||
SELECT AVG(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
0.0000
|
||||
SELECT AVG(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 TINYINT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT SUM(c1) AS value FROM t2;
|
||||
value
|
||||
4
|
||||
SELECT SUM(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
17
|
||||
SELECT SUM(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
-13
|
||||
SELECT SUM(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
0
|
||||
SELECT SUM(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 SMALLINT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT SUM(c1) AS value FROM t2;
|
||||
value
|
||||
4
|
||||
SELECT SUM(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
17
|
||||
SELECT SUM(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
-13
|
||||
SELECT SUM(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
0
|
||||
SELECT SUM(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 MEDIUMINT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT SUM(c1) AS value FROM t2;
|
||||
value
|
||||
4
|
||||
SELECT SUM(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
17
|
||||
SELECT SUM(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
-13
|
||||
SELECT SUM(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
0
|
||||
SELECT SUM(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 INT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT SUM(c1) AS value FROM t2;
|
||||
value
|
||||
4
|
||||
SELECT SUM(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
17
|
||||
SELECT SUM(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
-13
|
||||
SELECT SUM(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
0
|
||||
SELECT SUM(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 INTEGER NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT SUM(c1) AS value FROM t2;
|
||||
value
|
||||
4
|
||||
SELECT SUM(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
17
|
||||
SELECT SUM(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
-13
|
||||
SELECT SUM(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
0
|
||||
SELECT SUM(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 BIGINT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT SUM(c1) AS value FROM t2;
|
||||
value
|
||||
4
|
||||
SELECT SUM(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
17
|
||||
SELECT SUM(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
-13
|
||||
SELECT SUM(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
0
|
||||
SELECT SUM(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
NULL
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 TINYINT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT COUNT(c1) AS value FROM t2;
|
||||
value
|
||||
5
|
||||
SELECT COUNT(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
2
|
||||
SELECT COUNT(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
1
|
||||
SELECT COUNT(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
0
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 SMALLINT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT COUNT(c1) AS value FROM t2;
|
||||
value
|
||||
5
|
||||
SELECT COUNT(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
2
|
||||
SELECT COUNT(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
1
|
||||
SELECT COUNT(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
0
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 MEDIUMINT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT COUNT(c1) AS value FROM t2;
|
||||
value
|
||||
5
|
||||
SELECT COUNT(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
2
|
||||
SELECT COUNT(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
1
|
||||
SELECT COUNT(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
0
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 INT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT COUNT(c1) AS value FROM t2;
|
||||
value
|
||||
5
|
||||
SELECT COUNT(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
2
|
||||
SELECT COUNT(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
1
|
||||
SELECT COUNT(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
0
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 INTEGER NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT COUNT(c1) AS value FROM t2;
|
||||
value
|
||||
5
|
||||
SELECT COUNT(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
2
|
||||
SELECT COUNT(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
1
|
||||
SELECT COUNT(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
0
|
||||
DROP TABLE t2;
|
||||
CREATE TABLE t2(c1 BIGINT NOT NULL);
|
||||
INSERT INTO t2 (c1) VALUES(0);
|
||||
INSERT INTO t2 (c1) VALUES(1);
|
||||
INSERT INTO t2 (c1) VALUES(16);
|
||||
INSERT INTO t2 (c1) VALUES(-4);
|
||||
INSERT INTO t2 (c1) VALUES(-9);
|
||||
SELECT COUNT(c1) AS value FROM t2;
|
||||
value
|
||||
5
|
||||
SELECT COUNT(c1) AS postive_value FROM t2 WHERE c1 > 0;
|
||||
postive_value
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_value FROM t2 WHERE c1 < 0;
|
||||
negative_value
|
||||
2
|
||||
SELECT COUNT(c1) AS zero_value FROM t2 WHERE c1 = 0;
|
||||
zero_value
|
||||
1
|
||||
SELECT COUNT(c1) AS no_results FROM t2 WHERE c1 = 2;
|
||||
no_results
|
||||
0
|
||||
DROP TABLE t2;
|
661
mysql-test/suite/engines/funcs/r/general_null.result
Normal file
661
mysql-test/suite/engines/funcs/r/general_null.result
Normal file
|
@ -0,0 +1,661 @@
|
|||
DROP TABLE IF EXISTS t3;
|
||||
CREATE TABLE t3(c1 TINYINT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT MAX(c1) AS value FROM t3;
|
||||
value
|
||||
16
|
||||
SELECT MAX(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
16
|
||||
SELECT MAX(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
-4
|
||||
SELECT MAX(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
NULL
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 SMALLINT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT MAX(c1) AS value FROM t3;
|
||||
value
|
||||
16
|
||||
SELECT MAX(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
16
|
||||
SELECT MAX(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
-4
|
||||
SELECT MAX(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
NULL
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 MEDIUMINT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT MAX(c1) AS value FROM t3;
|
||||
value
|
||||
16
|
||||
SELECT MAX(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
16
|
||||
SELECT MAX(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
-4
|
||||
SELECT MAX(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
NULL
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 INT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT MAX(c1) AS value FROM t3;
|
||||
value
|
||||
16
|
||||
SELECT MAX(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
16
|
||||
SELECT MAX(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
-4
|
||||
SELECT MAX(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
NULL
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 INTEGER NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT MAX(c1) AS value FROM t3;
|
||||
value
|
||||
16
|
||||
SELECT MAX(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
16
|
||||
SELECT MAX(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
-4
|
||||
SELECT MAX(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
NULL
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 BIGINT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT MAX(c1) AS value FROM t3;
|
||||
value
|
||||
16
|
||||
SELECT MAX(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
16
|
||||
SELECT MAX(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
-4
|
||||
SELECT MAX(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
NULL
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TINYINT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT MIN(c1) AS value FROM t3;
|
||||
value
|
||||
-9
|
||||
SELECT MIN(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
1
|
||||
SELECT MIN(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
-9
|
||||
SELECT MIN(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
NULL
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 SMALLINT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT MIN(c1) AS value FROM t3;
|
||||
value
|
||||
-9
|
||||
SELECT MIN(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
1
|
||||
SELECT MIN(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
-9
|
||||
SELECT MIN(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
NULL
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 MEDIUMINT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT MIN(c1) AS value FROM t3;
|
||||
value
|
||||
-9
|
||||
SELECT MIN(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
1
|
||||
SELECT MIN(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
-9
|
||||
SELECT MIN(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
NULL
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 INT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT MIN(c1) AS value FROM t3;
|
||||
value
|
||||
-9
|
||||
SELECT MIN(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
1
|
||||
SELECT MIN(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
-9
|
||||
SELECT MIN(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
NULL
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 INTEGER NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT MIN(c1) AS value FROM t3;
|
||||
value
|
||||
-9
|
||||
SELECT MIN(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
1
|
||||
SELECT MIN(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
-9
|
||||
SELECT MIN(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
NULL
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 BIGINT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT MIN(c1) AS value FROM t3;
|
||||
value
|
||||
-9
|
||||
SELECT MIN(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
1
|
||||
SELECT MIN(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
-9
|
||||
SELECT MIN(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
NULL
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TINYINT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT AVG(c1) AS value FROM t3;
|
||||
value
|
||||
0.8000
|
||||
SELECT AVG(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
8.5000
|
||||
SELECT AVG(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
-6.5000
|
||||
SELECT AVG(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
NULL
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 SMALLINT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT AVG(c1) AS value FROM t3;
|
||||
value
|
||||
0.8000
|
||||
SELECT AVG(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
8.5000
|
||||
SELECT AVG(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
-6.5000
|
||||
SELECT AVG(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
NULL
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 MEDIUMINT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT AVG(c1) AS value FROM t3;
|
||||
value
|
||||
0.8000
|
||||
SELECT AVG(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
8.5000
|
||||
SELECT AVG(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
-6.5000
|
||||
SELECT AVG(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
NULL
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 INT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT AVG(c1) AS value FROM t3;
|
||||
value
|
||||
0.8000
|
||||
SELECT AVG(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
8.5000
|
||||
SELECT AVG(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
-6.5000
|
||||
SELECT AVG(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
NULL
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 INTEGER NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT AVG(c1) AS value FROM t3;
|
||||
value
|
||||
0.8000
|
||||
SELECT AVG(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
8.5000
|
||||
SELECT AVG(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
-6.5000
|
||||
SELECT AVG(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
NULL
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 BIGINT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT AVG(c1) AS value FROM t3;
|
||||
value
|
||||
0.8000
|
||||
SELECT AVG(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
8.5000
|
||||
SELECT AVG(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
-6.5000
|
||||
SELECT AVG(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
NULL
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TINYINT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT SUM(c1) AS value FROM t3;
|
||||
value
|
||||
4
|
||||
SELECT SUM(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
17
|
||||
SELECT SUM(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
-13
|
||||
SELECT SUM(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
NULL
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 SMALLINT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT SUM(c1) AS value FROM t3;
|
||||
value
|
||||
4
|
||||
SELECT SUM(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
17
|
||||
SELECT SUM(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
-13
|
||||
SELECT SUM(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
NULL
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 MEDIUMINT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT SUM(c1) AS value FROM t3;
|
||||
value
|
||||
4
|
||||
SELECT SUM(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
17
|
||||
SELECT SUM(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
-13
|
||||
SELECT SUM(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
NULL
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 INT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT SUM(c1) AS value FROM t3;
|
||||
value
|
||||
4
|
||||
SELECT SUM(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
17
|
||||
SELECT SUM(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
-13
|
||||
SELECT SUM(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
NULL
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 INTEGER NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT SUM(c1) AS value FROM t3;
|
||||
value
|
||||
4
|
||||
SELECT SUM(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
17
|
||||
SELECT SUM(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
-13
|
||||
SELECT SUM(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
NULL
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 BIGINT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT SUM(c1) AS value FROM t3;
|
||||
value
|
||||
4
|
||||
SELECT SUM(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
17
|
||||
SELECT SUM(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
-13
|
||||
SELECT SUM(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
NULL
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TINYINT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT COUNT(c1) AS value FROM t3;
|
||||
value
|
||||
5
|
||||
SELECT COUNT(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
0
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 SMALLINT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT COUNT(c1) AS value FROM t3;
|
||||
value
|
||||
5
|
||||
SELECT COUNT(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
0
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 MEDIUMINT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT COUNT(c1) AS value FROM t3;
|
||||
value
|
||||
5
|
||||
SELECT COUNT(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
0
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 INT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT COUNT(c1) AS value FROM t3;
|
||||
value
|
||||
5
|
||||
SELECT COUNT(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
0
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 INTEGER NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT COUNT(c1) AS value FROM t3;
|
||||
value
|
||||
5
|
||||
SELECT COUNT(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
0
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 BIGINT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(0);
|
||||
INSERT INTO t3 (c1) VALUES(1);
|
||||
INSERT INTO t3 (c1) VALUES(16);
|
||||
INSERT INTO t3 (c1) VALUES(-4);
|
||||
INSERT INTO t3 (c1) VALUES(-9);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
SELECT COUNT(c1) AS value FROM t3;
|
||||
value
|
||||
5
|
||||
SELECT COUNT(c1) AS postive_value FROM t3 WHERE c1 > 0;
|
||||
postive_value
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_value FROM t3 WHERE c1 < 0;
|
||||
negative_value
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_value FROM t3 WHERE c1 = 2;
|
||||
negative_value
|
||||
0
|
||||
DROP TABLE t3;
|
|
@ -0,0 +1,130 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 DATE NOT NULL, c2 DATE NULL, c3 DATE NULL, PRIMARY KEY(c1), UNIQUE(c2));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'4 04:01:01'),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),ADDTIME(NOW(),'3 03:01:01'),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'2 02:01:01'),ADDTIME(NOW(),'2 02:01:01'),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'3 03:01:01'),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'4 04:01:01'),NOW(),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'2 02:01:01'),ADDTIME(NOW(),'2 02:01:01'),NOW()) ON DUPLICATE KEY UPDATE c3=ADDTIME(NOW(),'6 06:01:01');
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c3=ADDTIME(NOW(),'6 06:01:01');
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2007-02-13 2007-02-17 2007-02-19
|
||||
2007-02-14 2007-02-16 2007-02-13
|
||||
2007-02-15 2007-02-15 2007-02-19
|
||||
2007-02-16 2007-02-14 2007-02-13
|
||||
2007-02-17 2007-02-13 2007-02-13
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NULL, c3 YEAR NULL, PRIMARY KEY(c1), UNIQUE(c2));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,2004,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2001,2003,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2002,2002,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2003,2001,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2004,2000,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2002,2002,2000) ON DUPLICATE KEY UPDATE c3=2011;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,2000,2000) ON DUPLICATE KEY UPDATE c3=2011;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2000 2004 2011
|
||||
2001 2003 2000
|
||||
2002 2002 2011
|
||||
2003 2001 2000
|
||||
2004 2000 2000
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIME NOT NULL, c2 TIME NULL, c3 TIME NULL, PRIMARY KEY(c1), UNIQUE(c2));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'4 04:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),ADDTIME(NOW(),'3 03:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'2 02:01:01'),ADDTIME(NOW(),'2 02:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'3 03:01:01'),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'4 04:01:01'),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'2 02:01:01'),ADDTIME(NOW(),'2 02:01:01'),NOW()) ON DUPLICATE KEY UPDATE c3=ADDTIME(NOW(),'6 06:01:01');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c3=ADDTIME(NOW(),'6 06:01:01');
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
09:09:33 13:10:34 15:10:34
|
||||
10:10:34 12:10:34 09:09:33
|
||||
11:10:34 11:10:34 15:10:34
|
||||
12:10:34 10:10:34 09:09:33
|
||||
13:10:34 09:09:33 09:09:33
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NULL, c3 YEAR NULL, PRIMARY KEY(c1), UNIQUE(c2));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,2004,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2001,2003,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2002,2002,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2003,2001,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2004,2000,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2002,2002,2000) ON DUPLICATE KEY UPDATE c3=2011;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,2000,2000) ON DUPLICATE KEY UPDATE c3=2011;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2000 2004 2011
|
||||
2001 2003 2000
|
||||
2002 2002 2011
|
||||
2003 2001 2000
|
||||
2004 2000 2000
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DATETIME NOT NULL, c2 DATETIME NULL, c3 DATETIME NULL, PRIMARY KEY(c1), UNIQUE(c2));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'4 04:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),ADDTIME(NOW(),'3 03:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'2 02:01:01'),ADDTIME(NOW(),'2 02:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'3 03:01:01'),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'4 04:01:01'),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'2 02:01:01'),ADDTIME(NOW(),'2 02:01:01'),NOW()) ON DUPLICATE KEY UPDATE c3=ADDTIME(NOW(),'6 06:01:01');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c3=ADDTIME(NOW(),'6 06:01:01');
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2007-02-13 09:09:33 2007-02-17 13:10:34 2007-02-19 15:10:34
|
||||
2007-02-14 10:10:34 2007-02-16 12:10:34 2007-02-13 09:09:33
|
||||
2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-19 15:10:34
|
||||
2007-02-16 12:10:34 2007-02-14 10:10:34 2007-02-13 09:09:33
|
||||
2007-02-17 13:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NULL, c3 YEAR NULL, PRIMARY KEY(c1), UNIQUE(c2));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,2004,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2001,2003,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2002,2002,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2003,2001,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2004,2000,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2002,2002,2000) ON DUPLICATE KEY UPDATE c3=2011;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,2000,2000) ON DUPLICATE KEY UPDATE c3=2011;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2000 2004 2011
|
||||
2001 2003 2000
|
||||
2002 2002 2011
|
||||
2003 2001 2000
|
||||
2004 2000 2000
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,84 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 DATE NOT NULL PRIMARY KEY);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
INSERT INTO t1 (c1) VALUES(NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01');
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2007-02-14
|
||||
2007-02-15
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
INSERT INTO t1 (c1) VALUES(2000);
|
||||
INSERT INTO t1 (c1) VALUES(1999) ON DUPLICATE KEY UPDATE c1=2011;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2000
|
||||
2011
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIME NOT NULL PRIMARY KEY);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1) VALUES(NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01');
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10:10:34
|
||||
11:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
INSERT INTO t1 (c1) VALUES(2000);
|
||||
INSERT INTO t1 (c1) VALUES(1999) ON DUPLICATE KEY UPDATE c1=2011;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2000
|
||||
2011
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DATETIME NOT NULL PRIMARY KEY);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1) VALUES(NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01');
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2007-02-14 10:10:34
|
||||
2007-02-15 11:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
INSERT INTO t1 (c1) VALUES(2000);
|
||||
INSERT INTO t1 (c1) VALUES(1999) ON DUPLICATE KEY UPDATE c1=2011;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2000
|
||||
2011
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIMESTAMP NOT NULL PRIMARY KEY);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1) VALUES(NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01');
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2007-02-14 10:10:34
|
||||
2007-02-15 11:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
INSERT INTO t1 (c1) VALUES(2000);
|
||||
INSERT INTO t1 (c1) VALUES(1999) ON DUPLICATE KEY UPDATE c1=2011;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2000
|
||||
2011
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,89 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 DATE NOT NULL PRIMARY KEY);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
ERROR 23000: Duplicate entry '2007-02-13' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2007-02-13
|
||||
2007-02-14
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
INSERT INTO t1 (c1) VALUES(2000);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
ERROR 23000: Duplicate entry '1999' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
1999
|
||||
2000
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIME NOT NULL PRIMARY KEY);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
ERROR 23000: Duplicate entry '09:09:33' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
09:09:33
|
||||
10:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
INSERT INTO t1 (c1) VALUES(2000);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
ERROR 23000: Duplicate entry '1999' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
1999
|
||||
2000
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DATETIME NOT NULL PRIMARY KEY);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
ERROR 23000: Duplicate entry '2007-02-13 09:09:33' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2007-02-13 09:09:33
|
||||
2007-02-14 10:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
INSERT INTO t1 (c1) VALUES(2000);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
ERROR 23000: Duplicate entry '1999' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
1999
|
||||
2000
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIMESTAMP NOT NULL PRIMARY KEY);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
ERROR 23000: Duplicate entry '2007-02-13 09:09:33' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2007-02-13 09:09:33
|
||||
2007-02-14 10:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
INSERT INTO t1 (c1) VALUES(2000);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
ERROR 23000: Duplicate entry '1999' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
1999
|
||||
2000
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,89 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 DATE NOT NULL PRIMARY KEY);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
ERROR 23000: Duplicate entry '2007-02-13' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2007-02-13
|
||||
2007-02-14
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
INSERT INTO t1 (c1) VALUES(2000);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
ERROR 23000: Duplicate entry '1999' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
1999
|
||||
2000
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIME NOT NULL PRIMARY KEY);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
ERROR 23000: Duplicate entry '09:09:33' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
09:09:33
|
||||
10:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
INSERT INTO t1 (c1) VALUES(2000);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
ERROR 23000: Duplicate entry '1999' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
1999
|
||||
2000
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DATETIME NOT NULL PRIMARY KEY);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
ERROR 23000: Duplicate entry '2007-02-13 09:09:33' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2007-02-13 09:09:33
|
||||
2007-02-14 10:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
INSERT INTO t1 (c1) VALUES(2000);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
ERROR 23000: Duplicate entry '1999' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
1999
|
||||
2000
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIMESTAMP NOT NULL PRIMARY KEY);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
ERROR 23000: Duplicate entry '2007-02-13 09:09:33' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2007-02-13 09:09:33
|
||||
2007-02-14 10:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
INSERT INTO t1 (c1) VALUES(2000);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
ERROR 23000: Duplicate entry '1999' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
1999
|
||||
2000
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,84 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 DATE NULL UNIQUE);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
INSERT INTO t1 (c1) VALUES(NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01');
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2007-02-14
|
||||
2007-02-15
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
INSERT INTO t1 (c1) VALUES(2000);
|
||||
INSERT INTO t1 (c1) VALUES(1999) ON DUPLICATE KEY UPDATE c1=2011;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2000
|
||||
2011
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIME NULL UNIQUE);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1) VALUES(NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01');
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10:10:34
|
||||
11:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
INSERT INTO t1 (c1) VALUES(2000);
|
||||
INSERT INTO t1 (c1) VALUES(1999) ON DUPLICATE KEY UPDATE c1=2011;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2000
|
||||
2011
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DATETIME NULL UNIQUE);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1) VALUES(NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01');
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2007-02-14 10:10:34
|
||||
2007-02-15 11:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
INSERT INTO t1 (c1) VALUES(2000);
|
||||
INSERT INTO t1 (c1) VALUES(1999) ON DUPLICATE KEY UPDATE c1=2011;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2000
|
||||
2011
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIMESTAMP NULL UNIQUE);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1) VALUES(NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01');
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2007-02-14 10:10:34
|
||||
2007-02-15 11:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
INSERT INTO t1 (c1) VALUES(2000);
|
||||
INSERT INTO t1 (c1) VALUES(1999) ON DUPLICATE KEY UPDATE c1=2011;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2000
|
||||
2011
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,89 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 DATE NULL UNIQUE);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
ERROR 23000: Duplicate entry '2007-02-13' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2007-02-13
|
||||
2007-02-14
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
INSERT INTO t1 (c1) VALUES(2000);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
ERROR 23000: Duplicate entry '1999' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
1999
|
||||
2000
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIME NULL UNIQUE);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
ERROR 23000: Duplicate entry '09:09:33' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
09:09:33
|
||||
10:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
INSERT INTO t1 (c1) VALUES(2000);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
ERROR 23000: Duplicate entry '1999' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
1999
|
||||
2000
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DATETIME NULL UNIQUE);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
ERROR 23000: Duplicate entry '2007-02-13 09:09:33' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2007-02-13 09:09:33
|
||||
2007-02-14 10:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
INSERT INTO t1 (c1) VALUES(2000);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
ERROR 23000: Duplicate entry '1999' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
1999
|
||||
2000
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIMESTAMP NULL UNIQUE);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
ERROR 23000: Duplicate entry '2007-02-13 09:09:33' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2007-02-13 09:09:33
|
||||
2007-02-14 10:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
INSERT INTO t1 (c1) VALUES(2000);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
ERROR 23000: Duplicate entry '1999' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
1999
|
||||
2000
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,83 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 DATE NULL UNIQUE);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
INSERT IGNORE INTO t1 (c1) VALUES(NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2007-02-13
|
||||
2007-02-14
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
INSERT INTO t1 (c1) VALUES(2000);
|
||||
INSERT IGNORE INTO t1 (c1) VALUES(1999);
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
1999
|
||||
2000
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIME NULL UNIQUE);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT IGNORE INTO t1 (c1) VALUES(NOW());
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
09:09:33
|
||||
10:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
INSERT INTO t1 (c1) VALUES(2000);
|
||||
INSERT IGNORE INTO t1 (c1) VALUES(1999);
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
1999
|
||||
2000
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DATETIME NULL UNIQUE);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT IGNORE INTO t1 (c1) VALUES(NOW());
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2007-02-13 09:09:33
|
||||
2007-02-14 10:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
INSERT INTO t1 (c1) VALUES(2000);
|
||||
INSERT IGNORE INTO t1 (c1) VALUES(1999);
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
1999
|
||||
2000
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIMESTAMP NULL UNIQUE);
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1) VALUES(NOW());
|
||||
INSERT INTO t1 (c1) VALUES(ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT IGNORE INTO t1 (c1) VALUES(NOW());
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
2007-02-13 09:09:33
|
||||
2007-02-14 10:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(1999);
|
||||
INSERT INTO t1 (c1) VALUES(2000);
|
||||
INSERT IGNORE INTO t1 (c1) VALUES(1999);
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
1999
|
||||
2000
|
||||
DROP TABLE t1;
|
22
mysql-test/suite/engines/funcs/r/in_enum_null.result
Normal file
22
mysql-test/suite/engines/funcs/r/in_enum_null.result
Normal file
|
@ -0,0 +1,22 @@
|
|||
DROP TABLE IF EXISTS t7;
|
||||
CREATE TABLE t7(c1 ENUM('a','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij') NULL);
|
||||
INSERT INTO t7(c1) VALUES(NULL);
|
||||
INSERT INTO t7(c1) VALUES('');
|
||||
Warnings:
|
||||
Warning 1265 Data truncated for column 'c1' at row 1
|
||||
INSERT INTO t7(c1) VALUES('a');
|
||||
INSERT INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij');
|
||||
INSERT INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij');
|
||||
Warnings:
|
||||
Warning 1265 Data truncated for column 'c1' at row 1
|
||||
SELECT * FROM t7;
|
||||
c1
|
||||
NULL
|
||||
|
||||
a
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij
|
||||
|
||||
SELECT COUNT(c1) AS null_rows FROM t7 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
DROP TABLE t7;
|
|
@ -0,0 +1,16 @@
|
|||
SET SQL_MODE="TRADITIONAL,ANSI";
|
||||
DROP TABLE IF EXISTS t7;
|
||||
CREATE TABLE t7(c1 ENUM('a','abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij') NULL);
|
||||
INSERT INTO t7(c1) VALUES(NULL);
|
||||
INSERT INTO t7(c1) VALUES('');
|
||||
ERROR 01000: Data truncated for column 'c1' at row 1
|
||||
INSERT INTO t7(c1) VALUES('a');
|
||||
INSERT INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij');
|
||||
INSERT INTO t7(c1) VALUES('abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghij');
|
||||
ERROR 01000: Data truncated for column 'c1' at row 1
|
||||
SELECT * FROM t7;
|
||||
c1
|
||||
NULL
|
||||
a
|
||||
abcdefghijabcdefghijabcdefghijabcdefghijabcdefghij
|
||||
DROP TABLE t7;
|
File diff suppressed because one or more lines are too long
127
mysql-test/suite/engines/funcs/r/in_insert_select.result
Normal file
127
mysql-test/suite/engines/funcs/r/in_insert_select.result
Normal file
|
@ -0,0 +1,127 @@
|
|||
DROP TABLE IF EXISTS t1,t2;
|
||||
CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY);
|
||||
CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5);
|
||||
INSERT INTO t2 SELECT * FROM t1;
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
TRUNCATE TABLE t2;
|
||||
INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3;
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1
|
||||
3
|
||||
4
|
||||
5
|
||||
TRUNCATE TABLE t2;
|
||||
DROP TABLE t1,t2;
|
||||
CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY);
|
||||
CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5);
|
||||
INSERT INTO t2 SELECT * FROM t1;
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
TRUNCATE TABLE t2;
|
||||
INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3;
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1
|
||||
3
|
||||
4
|
||||
5
|
||||
TRUNCATE TABLE t2;
|
||||
DROP TABLE t1,t2;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY);
|
||||
CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5);
|
||||
INSERT INTO t2 SELECT * FROM t1;
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
TRUNCATE TABLE t2;
|
||||
INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3;
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1
|
||||
3
|
||||
4
|
||||
5
|
||||
TRUNCATE TABLE t2;
|
||||
DROP TABLE t1,t2;
|
||||
CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY);
|
||||
CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5);
|
||||
INSERT INTO t2 SELECT * FROM t1;
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
TRUNCATE TABLE t2;
|
||||
INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3;
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1
|
||||
3
|
||||
4
|
||||
5
|
||||
TRUNCATE TABLE t2;
|
||||
DROP TABLE t1,t2;
|
||||
CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY);
|
||||
CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5);
|
||||
INSERT INTO t2 SELECT * FROM t1;
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
TRUNCATE TABLE t2;
|
||||
INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3;
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1
|
||||
3
|
||||
4
|
||||
5
|
||||
TRUNCATE TABLE t2;
|
||||
DROP TABLE t1,t2;
|
||||
CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY);
|
||||
CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(4),(5);
|
||||
INSERT INTO t2 SELECT * FROM t1;
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
TRUNCATE TABLE t2;
|
||||
INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3;
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1
|
||||
3
|
||||
4
|
||||
5
|
||||
TRUNCATE TABLE t2;
|
||||
DROP TABLE t1,t2;
|
121
mysql-test/suite/engines/funcs/r/in_insert_select_autoinc.result
Normal file
121
mysql-test/suite/engines/funcs/r/in_insert_select_autoinc.result
Normal file
|
@ -0,0 +1,121 @@
|
|||
DROP TABLE IF EXISTS t1,t2;
|
||||
CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY);
|
||||
CREATE TABLE t2(c1 TINYINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(1),(2),(3),(4),(5);
|
||||
INSERT INTO t2 SELECT * FROM t1;
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
TRUNCATE TABLE t2;
|
||||
INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3;
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1
|
||||
3
|
||||
4
|
||||
5
|
||||
TRUNCATE TABLE t2;
|
||||
DROP TABLE t1,t2;
|
||||
CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY);
|
||||
CREATE TABLE t2(c1 SMALLINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(1),(2),(3),(4),(5);
|
||||
INSERT INTO t2 SELECT * FROM t1;
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
TRUNCATE TABLE t2;
|
||||
INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3;
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1
|
||||
3
|
||||
4
|
||||
5
|
||||
TRUNCATE TABLE t2;
|
||||
DROP TABLE t1,t2;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY);
|
||||
CREATE TABLE t2(c1 MEDIUMINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(1),(2),(3),(4),(5);
|
||||
INSERT INTO t2 SELECT * FROM t1;
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
TRUNCATE TABLE t2;
|
||||
INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3;
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1
|
||||
3
|
||||
4
|
||||
5
|
||||
TRUNCATE TABLE t2;
|
||||
DROP TABLE t1,t2;
|
||||
CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY);
|
||||
CREATE TABLE t2(c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(1),(2),(3),(4),(5);
|
||||
INSERT INTO t2 SELECT * FROM t1;
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
TRUNCATE TABLE t2;
|
||||
INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3;
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1
|
||||
3
|
||||
4
|
||||
5
|
||||
TRUNCATE TABLE t2;
|
||||
DROP TABLE t1,t2;
|
||||
CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY);
|
||||
CREATE TABLE t2(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(1),(2),(3),(4),(5);
|
||||
INSERT INTO t2 SELECT * FROM t1;
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
TRUNCATE TABLE t2;
|
||||
INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3;
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1
|
||||
3
|
||||
4
|
||||
5
|
||||
TRUNCATE TABLE t2;
|
||||
DROP TABLE t1,t2;
|
||||
CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY);
|
||||
CREATE TABLE t2(c1 BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(1),(2),(3),(4),(5);
|
||||
INSERT INTO t2 SELECT * FROM t1;
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
TRUNCATE TABLE t2;
|
||||
INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3;
|
||||
SELECT * FROM t2 ORDER BY c1;
|
||||
c1
|
||||
3
|
||||
4
|
||||
5
|
||||
TRUNCATE TABLE t2;
|
||||
DROP TABLE t1,t2;
|
|
@ -0,0 +1,61 @@
|
|||
DROP TABLE IF EXISTS t1,t2;
|
||||
CREATE TABLE t1(c1 TINYINT NOT NULL);
|
||||
CREATE TABLE t2(c1 TINYINT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(3),(4),(4),(5);
|
||||
INSERT INTO t2 SELECT * FROM t1;
|
||||
ERROR 23000: Duplicate entry '3' for key 'PRIMARY'
|
||||
TRUNCATE TABLE t2;
|
||||
INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3;
|
||||
ERROR 23000: Duplicate entry '3' for key 'PRIMARY'
|
||||
TRUNCATE TABLE t2;
|
||||
DROP TABLE t1,t2;
|
||||
CREATE TABLE t1(c1 SMALLINT NOT NULL);
|
||||
CREATE TABLE t2(c1 SMALLINT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(3),(4),(4),(5);
|
||||
INSERT INTO t2 SELECT * FROM t1;
|
||||
ERROR 23000: Duplicate entry '3' for key 'PRIMARY'
|
||||
TRUNCATE TABLE t2;
|
||||
INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3;
|
||||
ERROR 23000: Duplicate entry '3' for key 'PRIMARY'
|
||||
TRUNCATE TABLE t2;
|
||||
DROP TABLE t1,t2;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NOT NULL);
|
||||
CREATE TABLE t2(c1 MEDIUMINT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(3),(4),(4),(5);
|
||||
INSERT INTO t2 SELECT * FROM t1;
|
||||
ERROR 23000: Duplicate entry '3' for key 'PRIMARY'
|
||||
TRUNCATE TABLE t2;
|
||||
INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3;
|
||||
ERROR 23000: Duplicate entry '3' for key 'PRIMARY'
|
||||
TRUNCATE TABLE t2;
|
||||
DROP TABLE t1,t2;
|
||||
CREATE TABLE t1(c1 INT NOT NULL);
|
||||
CREATE TABLE t2(c1 INT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(3),(4),(4),(5);
|
||||
INSERT INTO t2 SELECT * FROM t1;
|
||||
ERROR 23000: Duplicate entry '3' for key 'PRIMARY'
|
||||
TRUNCATE TABLE t2;
|
||||
INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3;
|
||||
ERROR 23000: Duplicate entry '3' for key 'PRIMARY'
|
||||
TRUNCATE TABLE t2;
|
||||
DROP TABLE t1,t2;
|
||||
CREATE TABLE t1(c1 INTEGER NOT NULL);
|
||||
CREATE TABLE t2(c1 INTEGER NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(3),(4),(4),(5);
|
||||
INSERT INTO t2 SELECT * FROM t1;
|
||||
ERROR 23000: Duplicate entry '3' for key 'PRIMARY'
|
||||
TRUNCATE TABLE t2;
|
||||
INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3;
|
||||
ERROR 23000: Duplicate entry '3' for key 'PRIMARY'
|
||||
TRUNCATE TABLE t2;
|
||||
DROP TABLE t1,t2;
|
||||
CREATE TABLE t1(c1 BIGINT NOT NULL);
|
||||
CREATE TABLE t2(c1 BIGINT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(0),(1),(2),(3),(3),(4),(4),(5);
|
||||
INSERT INTO t2 SELECT * FROM t1;
|
||||
ERROR 23000: Duplicate entry '3' for key 'PRIMARY'
|
||||
TRUNCATE TABLE t2;
|
||||
INSERT INTO t2 SELECT * FROM t1 WHERE c1 >= 3;
|
||||
ERROR 23000: Duplicate entry '3' for key 'PRIMARY'
|
||||
TRUNCATE TABLE t2;
|
||||
DROP TABLE t1,t2;
|
122
mysql-test/suite/engines/funcs/r/in_lob_boundary_error.result
Normal file
122
mysql-test/suite/engines/funcs/r/in_lob_boundary_error.result
Normal file
|
@ -0,0 +1,122 @@
|
|||
SET SQL_MODE="TRADITIONAL,ANSI";
|
||||
DROP TABLE IF EXISTS t3;
|
||||
CREATE TABLE t3(c1 TINYBLOB NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
ERROR 23000: Column 'c1' cannot be null
|
||||
INSERT INTO t3 (c1) VALUES('x');
|
||||
INSERT INTO t3 (c1) VALUES('');
|
||||
SELECT COUNT(c1) AS total_rows FROM t3;
|
||||
total_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS null_rows FROM t3 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
SELECT COUNT(c1) AS not_null_rows FROM t3 WHERE c1 IS NOT NULL;
|
||||
not_null_rows
|
||||
2
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 BLOB NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
ERROR 23000: Column 'c1' cannot be null
|
||||
INSERT INTO t3 (c1) VALUES('x');
|
||||
INSERT INTO t3 (c1) VALUES('');
|
||||
SELECT COUNT(c1) AS total_rows FROM t3;
|
||||
total_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS null_rows FROM t3 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
SELECT COUNT(c1) AS not_null_rows FROM t3 WHERE c1 IS NOT NULL;
|
||||
not_null_rows
|
||||
2
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 MEDIUMBLOB NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
ERROR 23000: Column 'c1' cannot be null
|
||||
INSERT INTO t3 (c1) VALUES('x');
|
||||
INSERT INTO t3 (c1) VALUES('');
|
||||
SELECT COUNT(c1) AS total_rows FROM t3;
|
||||
total_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS null_rows FROM t3 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
SELECT COUNT(c1) AS not_null_rows FROM t3 WHERE c1 IS NOT NULL;
|
||||
not_null_rows
|
||||
2
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 LONGBLOB NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
ERROR 23000: Column 'c1' cannot be null
|
||||
INSERT INTO t3 (c1) VALUES('x');
|
||||
INSERT INTO t3 (c1) VALUES('');
|
||||
SELECT COUNT(c1) AS total_rows FROM t3;
|
||||
total_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS null_rows FROM t3 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
SELECT COUNT(c1) AS not_null_rows FROM t3 WHERE c1 IS NOT NULL;
|
||||
not_null_rows
|
||||
2
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TINYTEXT NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
ERROR 23000: Column 'c1' cannot be null
|
||||
INSERT INTO t3 (c1) VALUES('x');
|
||||
INSERT INTO t3 (c1) VALUES('');
|
||||
SELECT COUNT(c1) AS total_rows FROM t3;
|
||||
total_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS null_rows FROM t3 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
SELECT COUNT(c1) AS not_null_rows FROM t3 WHERE c1 IS NOT NULL;
|
||||
not_null_rows
|
||||
2
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 TEXT NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
ERROR 23000: Column 'c1' cannot be null
|
||||
INSERT INTO t3 (c1) VALUES('x');
|
||||
INSERT INTO t3 (c1) VALUES('');
|
||||
SELECT COUNT(c1) AS total_rows FROM t3;
|
||||
total_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS null_rows FROM t3 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
SELECT COUNT(c1) AS not_null_rows FROM t3 WHERE c1 IS NOT NULL;
|
||||
not_null_rows
|
||||
2
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 MEDIUMTEXT NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
ERROR 23000: Column 'c1' cannot be null
|
||||
INSERT INTO t3 (c1) VALUES('x');
|
||||
INSERT INTO t3 (c1) VALUES('');
|
||||
SELECT COUNT(c1) AS total_rows FROM t3;
|
||||
total_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS null_rows FROM t3 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
SELECT COUNT(c1) AS not_null_rows FROM t3 WHERE c1 IS NOT NULL;
|
||||
not_null_rows
|
||||
2
|
||||
DROP TABLE t3;
|
||||
CREATE TABLE t3(c1 LONGTEXT NOT NULL);
|
||||
INSERT INTO t3 (c1) VALUES(NULL);
|
||||
ERROR 23000: Column 'c1' cannot be null
|
||||
INSERT INTO t3 (c1) VALUES('x');
|
||||
INSERT INTO t3 (c1) VALUES('');
|
||||
SELECT COUNT(c1) AS total_rows FROM t3;
|
||||
total_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS null_rows FROM t3 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
SELECT COUNT(c1) AS not_null_rows FROM t3 WHERE c1 IS NOT NULL;
|
||||
not_null_rows
|
||||
2
|
||||
DROP TABLE t3;
|
|
@ -0,0 +1,146 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 DATE NOT NULL, c2 DATE NOT NULL, c3 DATE NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'),c3=ADDTIME(NOW(),'2 02:01:01');
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01');
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2007-02-13 2007-02-14 2007-02-13
|
||||
2007-02-14 2007-02-13 2007-02-13
|
||||
2007-02-15 2007-02-15 2007-02-14
|
||||
2007-02-15 2007-02-15 2007-02-15
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999) ON DUPLICATE KEY UPDATE c1=2011,c2=2011,c3=2011;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000) ON DUPLICATE KEY UPDATE c1=2011,c2=2011;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
2011 2011 2000
|
||||
2011 2011 2011
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIME NOT NULL, c2 TIME NOT NULL, c3 TIME NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'),c3=ADDTIME(NOW(),'2 02:01:01');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01');
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
09:09:33 10:10:34 09:09:33
|
||||
10:10:34 09:09:33 09:09:33
|
||||
11:10:34 11:10:34 10:10:34
|
||||
11:10:34 11:10:34 11:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999) ON DUPLICATE KEY UPDATE c1=2011,c2=2011,c3=2011;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000) ON DUPLICATE KEY UPDATE c1=2011,c2=2011;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
2011 2011 2000
|
||||
2011 2011 2011
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DATETIME NOT NULL, c2 DATETIME NOT NULL, c3 DATETIME NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'),c3=ADDTIME(NOW(),'2 02:01:01');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01');
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33
|
||||
2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33
|
||||
2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-14 10:10:34
|
||||
2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-15 11:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999) ON DUPLICATE KEY UPDATE c1=2011,c2=2011,c3=2011;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000) ON DUPLICATE KEY UPDATE c1=2011,c2=2011;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
2011 2011 2000
|
||||
2011 2011 2011
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'),c3=ADDTIME(NOW(),'2 02:01:01');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01');
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33
|
||||
2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33
|
||||
2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-14 10:10:34
|
||||
2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-15 11:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999) ON DUPLICATE KEY UPDATE c1=2011,c2=2011,c3=2011;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000) ON DUPLICATE KEY UPDATE c1=2011,c2=2011;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
2011 2011 2000
|
||||
2011 2011 2011
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,149 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 DATE NOT NULL, c2 DATE NOT NULL, c3 DATE NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
ERROR 23000: Duplicate entry '2007-02-13-2007-02-13-2007-02-13' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
ERROR 23000: Duplicate entry '2007-02-13-2007-02-13-2007-02-14' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2007-02-13 2007-02-13 2007-02-13
|
||||
2007-02-13 2007-02-13 2007-02-14
|
||||
2007-02-13 2007-02-14 2007-02-13
|
||||
2007-02-14 2007-02-13 2007-02-13
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
ERROR 23000: Duplicate entry '1999-1999-1999' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
ERROR 23000: Duplicate entry '1999-1999-2000' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 1999 1999
|
||||
1999 1999 2000
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIME NOT NULL, c2 TIME NOT NULL, c3 TIME NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
ERROR 23000: Duplicate entry '09:09:33-09:09:33-09:09:33' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
ERROR 23000: Duplicate entry '09:09:33-09:09:33-10:10:34' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
09:09:33 09:09:33 09:09:33
|
||||
09:09:33 09:09:33 10:10:34
|
||||
09:09:33 10:10:34 09:09:33
|
||||
10:10:34 09:09:33 09:09:33
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
ERROR 23000: Duplicate entry '1999-1999-1999' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
ERROR 23000: Duplicate entry '1999-1999-2000' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 1999 1999
|
||||
1999 1999 2000
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DATETIME NOT NULL, c2 DATETIME NOT NULL, c3 DATETIME NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
ERROR 23000: Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-13 09:09:33' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
ERROR 23000: Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-14 10:10:34' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-13 09:09:33
|
||||
2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-14 10:10:34
|
||||
2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33
|
||||
2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
ERROR 23000: Duplicate entry '1999-1999-1999' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
ERROR 23000: Duplicate entry '1999-1999-2000' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 1999 1999
|
||||
1999 1999 2000
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
ERROR 23000: Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-13 09:09:33' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
ERROR 23000: Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-14 10:10:34' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-13 09:09:33
|
||||
2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-14 10:10:34
|
||||
2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33
|
||||
2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
ERROR 23000: Duplicate entry '1999-1999-1999' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
ERROR 23000: Duplicate entry '1999-1999-2000' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 1999 1999
|
||||
1999 1999 2000
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,149 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 DATE NOT NULL, c2 DATE NOT NULL, c3 DATE NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
ERROR 23000: Duplicate entry '2007-02-13-2007-02-13-2007-02-13' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
ERROR 23000: Duplicate entry '2007-02-13-2007-02-13-2007-02-14' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2007-02-13 2007-02-13 2007-02-13
|
||||
2007-02-13 2007-02-13 2007-02-14
|
||||
2007-02-13 2007-02-14 2007-02-13
|
||||
2007-02-14 2007-02-13 2007-02-13
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
ERROR 23000: Duplicate entry '1999-1999-1999' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
ERROR 23000: Duplicate entry '1999-1999-2000' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 1999 1999
|
||||
1999 1999 2000
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIME NOT NULL, c2 TIME NOT NULL, c3 TIME NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
ERROR 23000: Duplicate entry '09:09:33-09:09:33-09:09:33' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
ERROR 23000: Duplicate entry '09:09:33-09:09:33-10:10:34' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
09:09:33 09:09:33 09:09:33
|
||||
09:09:33 09:09:33 10:10:34
|
||||
09:09:33 10:10:34 09:09:33
|
||||
10:10:34 09:09:33 09:09:33
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
ERROR 23000: Duplicate entry '1999-1999-1999' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
ERROR 23000: Duplicate entry '1999-1999-2000' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 1999 1999
|
||||
1999 1999 2000
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DATETIME NOT NULL, c2 DATETIME NOT NULL, c3 DATETIME NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
ERROR 23000: Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-13 09:09:33' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
ERROR 23000: Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-14 10:10:34' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-13 09:09:33
|
||||
2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-14 10:10:34
|
||||
2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33
|
||||
2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
ERROR 23000: Duplicate entry '1999-1999-1999' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
ERROR 23000: Duplicate entry '1999-1999-2000' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 1999 1999
|
||||
1999 1999 2000
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
ERROR 23000: Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-13 09:09:33' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
ERROR 23000: Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-14 10:10:34' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-13 09:09:33
|
||||
2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-14 10:10:34
|
||||
2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33
|
||||
2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
ERROR 23000: Duplicate entry '1999-1999-1999' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
ERROR 23000: Duplicate entry '1999-1999-2000' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 1999 1999
|
||||
1999 1999 2000
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,146 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 DATE NULL, c2 DATE NULL, c3 DATE NULL, UNIQUE(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'),c3=ADDTIME(NOW(),'2 02:01:01');
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01');
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2007-02-13 2007-02-14 2007-02-13
|
||||
2007-02-14 2007-02-13 2007-02-13
|
||||
2007-02-15 2007-02-15 2007-02-14
|
||||
2007-02-15 2007-02-15 2007-02-15
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NULL, c2 YEAR NULL, c3 YEAR NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999) ON DUPLICATE KEY UPDATE c1=2011,c2=2011,c3=2011;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000) ON DUPLICATE KEY UPDATE c1=2011,c2=2011;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
2011 2011 2000
|
||||
2011 2011 2011
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIME NULL, c2 TIME NULL, c3 TIME NULL, UNIQUE(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'),c3=ADDTIME(NOW(),'2 02:01:01');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01');
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
09:09:33 10:10:34 09:09:33
|
||||
10:10:34 09:09:33 09:09:33
|
||||
11:10:34 11:10:34 10:10:34
|
||||
11:10:34 11:10:34 11:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NULL, c2 YEAR NULL, c3 YEAR NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999) ON DUPLICATE KEY UPDATE c1=2011,c2=2011,c3=2011;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000) ON DUPLICATE KEY UPDATE c1=2011,c2=2011;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
2011 2011 2000
|
||||
2011 2011 2011
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DATETIME NULL, c2 DATETIME NULL, c3 DATETIME NULL, UNIQUE(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'),c3=ADDTIME(NOW(),'2 02:01:01');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01');
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33
|
||||
2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33
|
||||
2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-14 10:10:34
|
||||
2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-15 11:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NULL, c2 YEAR NULL, c3 YEAR NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999) ON DUPLICATE KEY UPDATE c1=2011,c2=2011,c3=2011;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000) ON DUPLICATE KEY UPDATE c1=2011,c2=2011;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
2011 2011 2000
|
||||
2011 2011 2011
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIMESTAMP NULL, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL, UNIQUE(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'),c3=ADDTIME(NOW(),'2 02:01:01');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01');
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33
|
||||
2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33
|
||||
2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-14 10:10:34
|
||||
2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-15 11:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NULL, c2 YEAR NULL, c3 YEAR NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999) ON DUPLICATE KEY UPDATE c1=2011,c2=2011,c3=2011;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000) ON DUPLICATE KEY UPDATE c1=2011,c2=2011;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
2011 2011 2000
|
||||
2011 2011 2011
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,149 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 DATE NULL, c2 DATE NULL, c3 DATE NULL, UNIQUE(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
ERROR 23000: Duplicate entry '2007-02-13-2007-02-13-2007-02-13' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
ERROR 23000: Duplicate entry '2007-02-13-2007-02-13-2007-02-14' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2007-02-13 2007-02-13 2007-02-13
|
||||
2007-02-13 2007-02-13 2007-02-14
|
||||
2007-02-13 2007-02-14 2007-02-13
|
||||
2007-02-14 2007-02-13 2007-02-13
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NULL, c2 YEAR NULL, c3 YEAR NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
ERROR 23000: Duplicate entry '1999-1999-1999' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
ERROR 23000: Duplicate entry '1999-1999-2000' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 1999 1999
|
||||
1999 1999 2000
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIME NULL, c2 TIME NULL, c3 TIME NULL, UNIQUE(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
ERROR 23000: Duplicate entry '09:09:33-09:09:33-09:09:33' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
ERROR 23000: Duplicate entry '09:09:33-09:09:33-10:10:34' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
09:09:33 09:09:33 09:09:33
|
||||
09:09:33 09:09:33 10:10:34
|
||||
09:09:33 10:10:34 09:09:33
|
||||
10:10:34 09:09:33 09:09:33
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NULL, c2 YEAR NULL, c3 YEAR NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
ERROR 23000: Duplicate entry '1999-1999-1999' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
ERROR 23000: Duplicate entry '1999-1999-2000' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 1999 1999
|
||||
1999 1999 2000
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DATETIME NULL, c2 DATETIME NULL, c3 DATETIME NULL, UNIQUE(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
ERROR 23000: Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-13 09:09:33' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
ERROR 23000: Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-14 10:10:34' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-13 09:09:33
|
||||
2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-14 10:10:34
|
||||
2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33
|
||||
2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NULL, c2 YEAR NULL, c3 YEAR NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
ERROR 23000: Duplicate entry '1999-1999-1999' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
ERROR 23000: Duplicate entry '1999-1999-2000' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 1999 1999
|
||||
1999 1999 2000
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIMESTAMP NULL, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL, UNIQUE(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
ERROR 23000: Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-13 09:09:33' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
ERROR 23000: Duplicate entry '2007-02-13 09:09:33-2007-02-13 09:09:33-2007-02-14 10:10:34' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-13 09:09:33
|
||||
2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-14 10:10:34
|
||||
2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33
|
||||
2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NULL, c2 YEAR NULL, c3 YEAR NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
ERROR 23000: Duplicate entry '1999-1999-1999' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
ERROR 23000: Duplicate entry '1999-1999-2000' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 1999 1999
|
||||
1999 1999 2000
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,141 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 DATE NULL, c2 DATE NULL, c3 DATE NULL, UNIQUE(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2007-02-13 2007-02-13 2007-02-13
|
||||
2007-02-13 2007-02-13 2007-02-14
|
||||
2007-02-13 2007-02-14 2007-02-13
|
||||
2007-02-14 2007-02-13 2007-02-13
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NULL, c2 YEAR NULL, c3 YEAR NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 1999 1999
|
||||
1999 1999 2000
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIME NULL, c2 TIME NULL, c3 TIME NULL, UNIQUE(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
09:09:33 09:09:33 09:09:33
|
||||
09:09:33 09:09:33 10:10:34
|
||||
09:09:33 10:10:34 09:09:33
|
||||
10:10:34 09:09:33 09:09:33
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NULL, c2 YEAR NULL, c3 YEAR NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 1999 1999
|
||||
1999 1999 2000
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DATETIME NULL, c2 DATETIME NULL, c3 DATETIME NULL, UNIQUE(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-13 09:09:33
|
||||
2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-14 10:10:34
|
||||
2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33
|
||||
2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NULL, c2 YEAR NULL, c3 YEAR NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 1999 1999
|
||||
1999 1999 2000
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIMESTAMP NULL, c2 TIMESTAMP NULL, c3 TIMESTAMP NULL, UNIQUE(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-13 09:09:33
|
||||
2007-02-13 09:09:33 2007-02-13 09:09:33 2007-02-14 10:10:34
|
||||
2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33
|
||||
2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NULL, c2 YEAR NULL, c3 YEAR NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 1999 1999
|
||||
1999 1999 2000
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,146 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 DATE NOT NULL, c2 DATE NOT NULL, c3 DATE NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'),c3=ADDTIME(NOW(),'2 02:01:01');
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01');
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
Note 1265 Data truncated for column 'c3' at row 1
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
Note 1265 Data truncated for column 'c2' at row 1
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2007-02-13 2007-02-14 2007-02-13
|
||||
2007-02-14 2007-02-13 2007-02-13
|
||||
2007-02-15 2007-02-15 2007-02-14
|
||||
2007-02-15 2007-02-15 2007-02-15
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999) ON DUPLICATE KEY UPDATE c1=2011,c2=2011,c3=2011;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000) ON DUPLICATE KEY UPDATE c1=2011,c2=2011;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
2011 2011 2000
|
||||
2011 2011 2011
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIME NOT NULL, c2 TIME NOT NULL, c3 TIME NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'),c3=ADDTIME(NOW(),'2 02:01:01');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01');
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
09:09:33 10:10:34 09:09:33
|
||||
10:10:34 09:09:33 09:09:33
|
||||
11:10:34 11:10:34 10:10:34
|
||||
11:10:34 11:10:34 11:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999) ON DUPLICATE KEY UPDATE c1=2011,c2=2011,c3=2011;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000) ON DUPLICATE KEY UPDATE c1=2011,c2=2011;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
2011 2011 2000
|
||||
2011 2011 2011
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DATETIME NOT NULL, c2 DATETIME NOT NULL, c3 DATETIME NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'),c3=ADDTIME(NOW(),'2 02:01:01');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01');
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33
|
||||
2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33
|
||||
2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-14 10:10:34
|
||||
2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-15 11:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999) ON DUPLICATE KEY UPDATE c1=2011,c2=2011,c3=2011;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000) ON DUPLICATE KEY UPDATE c1=2011,c2=2011;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
2011 2011 2000
|
||||
2011 2011 2011
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 TIMESTAMP NOT NULL, c3 TIMESTAMP NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
SET TIMESTAMP=1171346973;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01'));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),ADDTIME(NOW(),'1 01:01:01'),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(ADDTIME(NOW(),'1 01:01:01'),NOW(),NOW());
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),NOW()) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01'),c3=ADDTIME(NOW(),'2 02:01:01');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(NOW(),NOW(),ADDTIME(NOW(),'1 01:01:01')) ON DUPLICATE KEY UPDATE c1=ADDTIME(NOW(),'2 02:01:01'),c2=ADDTIME(NOW(),'2 02:01:01');
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
2007-02-13 09:09:33 2007-02-14 10:10:34 2007-02-13 09:09:33
|
||||
2007-02-14 10:10:34 2007-02-13 09:09:33 2007-02-13 09:09:33
|
||||
2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-14 10:10:34
|
||||
2007-02-15 11:10:34 2007-02-15 11:10:34 2007-02-15 11:10:34
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR NOT NULL, c3 YEAR NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,2000,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(2000,1999,1999);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,1999) ON DUPLICATE KEY UPDATE c1=2011,c2=2011,c3=2011;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(1999,1999,2000) ON DUPLICATE KEY UPDATE c1=2011,c2=2011;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
1999 2000 1999
|
||||
2000 1999 1999
|
||||
2011 2011 2000
|
||||
2011 2011 2011
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,337 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 TINYINT NOT NULL, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NOT NULL, c2 INT NOT NULL, c3 INT NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NOT NULL, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NOT NULL, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DEC NOT NULL, c2 DEC NOT NULL, c3 DEC NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 FIXED NOT NULL, c2 FIXED NOT NULL, c3 FIXED NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 REAL NOT NULL, c2 REAL NOT NULL, c3 REAL NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DOUBLE PRECISION NOT NULL, c2 DOUBLE PRECISION NOT NULL, c3 DOUBLE PRECISION NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 FLOAT NOT NULL, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,337 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 TINYINT NOT NULL, c2 TINYINT NOT NULL, c3 TINYINT NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 SMALLINT NOT NULL, c3 SMALLINT NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 MEDIUMINT NOT NULL, c3 MEDIUMINT NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NOT NULL, c2 INT NOT NULL, c3 INT NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NOT NULL, c2 INTEGER NOT NULL, c3 INTEGER NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NOT NULL, c2 BIGINT NOT NULL, c3 BIGINT NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 DECIMAL NOT NULL, c3 DECIMAL NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DEC NOT NULL, c2 DEC NOT NULL, c3 DEC NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 FIXED NOT NULL, c2 FIXED NOT NULL, c3 FIXED NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 NUMERIC NOT NULL, c3 NUMERIC NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 DOUBLE NOT NULL, c3 DOUBLE NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 REAL NOT NULL, c2 REAL NOT NULL, c3 REAL NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DOUBLE PRECISION NOT NULL, c2 DOUBLE PRECISION NOT NULL, c3 DOUBLE PRECISION NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 FLOAT NOT NULL, c2 FLOAT NOT NULL, c3 FLOAT NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,295 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 TINYINT NULL, c2 TINYINT NULL, c3 TINYINT NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 100 100
|
||||
10 11 10
|
||||
100 100 100
|
||||
100 100 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NULL, c2 SMALLINT NULL, c3 SMALLINT NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 100 100
|
||||
10 11 10
|
||||
100 100 100
|
||||
100 100 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NULL, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 100 100
|
||||
10 11 10
|
||||
100 100 100
|
||||
100 100 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NULL, c2 INT NULL, c3 INT NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 100 100
|
||||
10 11 10
|
||||
100 100 100
|
||||
100 100 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NULL, c2 INTEGER NULL, c3 INTEGER NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 100 100
|
||||
10 11 10
|
||||
100 100 100
|
||||
100 100 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NULL, c2 BIGINT NULL, c3 BIGINT NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 100 100
|
||||
10 11 10
|
||||
100 100 100
|
||||
100 100 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DECIMAL NULL, c2 DECIMAL NULL, c3 DECIMAL NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 100 100
|
||||
10 11 10
|
||||
100 100 100
|
||||
100 100 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DEC NULL, c2 DEC NULL, c3 DEC NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 100 100
|
||||
10 11 10
|
||||
100 100 100
|
||||
100 100 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 FIXED NULL, c2 FIXED NULL, c3 FIXED NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 100 100
|
||||
10 11 10
|
||||
100 100 100
|
||||
100 100 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 NUMERIC NULL, c2 NUMERIC NULL, c3 NUMERIC NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 100 100
|
||||
10 11 10
|
||||
100 100 100
|
||||
100 100 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DOUBLE NULL, c2 DOUBLE NULL, c3 DOUBLE NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 100 100
|
||||
10 11 10
|
||||
100 100 100
|
||||
100 100 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 REAL NULL, c2 REAL NULL, c3 REAL NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 100 100
|
||||
10 11 10
|
||||
100 100 100
|
||||
100 100 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DOUBLE PRECISION NULL, c2 DOUBLE PRECISION NULL, c3 DOUBLE PRECISION NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 100 100
|
||||
10 11 10
|
||||
100 100 100
|
||||
100 100 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 FLOAT NULL, c2 FLOAT NULL, c3 FLOAT NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c1=100,c2=100,c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11) ON DUPLICATE KEY UPDATE c1=100,c2=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11) ON DUPLICATE KEY UPDATE c2=100,c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 100 100
|
||||
10 11 10
|
||||
100 100 100
|
||||
100 100 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,337 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 TINYINT NULL, c2 TINYINT NULL, c3 TINYINT NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NULL, c2 SMALLINT NULL, c3 SMALLINT NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NULL, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NULL, c2 INT NULL, c3 INT NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NULL, c2 INTEGER NULL, c3 INTEGER NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NULL, c2 BIGINT NULL, c3 BIGINT NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DECIMAL NULL, c2 DECIMAL NULL, c3 DECIMAL NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DEC NULL, c2 DEC NULL, c3 DEC NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 FIXED NULL, c2 FIXED NULL, c3 FIXED NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 NUMERIC NULL, c2 NUMERIC NULL, c3 NUMERIC NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DOUBLE NULL, c2 DOUBLE NULL, c3 DOUBLE NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 REAL NULL, c2 REAL NULL, c3 REAL NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DOUBLE PRECISION NULL, c2 DOUBLE PRECISION NULL, c3 DOUBLE PRECISION NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 FLOAT NULL, c2 FLOAT NULL, c3 FLOAT NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
ERROR 23000: Duplicate entry '10-10-10' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
ERROR 23000: Duplicate entry '10-10-11' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
ERROR 23000: Duplicate entry '10-11-11' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,295 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 TINYINT NULL, c2 TINYINT NULL, c3 TINYINT NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NULL, c2 SMALLINT NULL, c3 SMALLINT NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NULL, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NULL, c2 INT NULL, c3 INT NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NULL, c2 INTEGER NULL, c3 INTEGER NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NULL, c2 BIGINT NULL, c3 BIGINT NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DECIMAL NULL, c2 DECIMAL NULL, c3 DECIMAL NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DEC NULL, c2 DEC NULL, c3 DEC NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 FIXED NULL, c2 FIXED NULL, c3 FIXED NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 NUMERIC NULL, c2 NUMERIC NULL, c3 NUMERIC NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DOUBLE NULL, c2 DOUBLE NULL, c3 DOUBLE NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 REAL NULL, c2 REAL NULL, c3 REAL NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DOUBLE PRECISION NULL, c2 DOUBLE PRECISION NULL, c3 DOUBLE PRECISION NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 FLOAT NULL, c2 FLOAT NULL, c3 FLOAT NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,10,11);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,10);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,10,11);
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES(10,11,11);
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 10 10
|
||||
10 10 11
|
||||
10 11 10
|
||||
10 11 11
|
||||
11 10 10
|
||||
11 10 11
|
||||
11 11 10
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,85 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 CHAR(10) NOT NULL, c2 CHAR(10) NOT NULL, c3 CHAR(10) NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg',c3='abcdefg';
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg';
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def') ON DUPLICATE KEY UPDATE c2='abcdefg',c3='abcdefg';
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
abc abcdefg abcdefg
|
||||
abc def abc
|
||||
abcdefg abcdefg abcdefg
|
||||
abcdefg abcdefg def
|
||||
def abc abc
|
||||
def abc def
|
||||
def def abc
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARCHAR(10) NOT NULL, c2 VARCHAR(10) NOT NULL, c3 VARCHAR(10) NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg',c3='abcdefg';
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg';
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def') ON DUPLICATE KEY UPDATE c2='abcdefg',c3='abcdefg';
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
abc abcdefg abcdefg
|
||||
abc def abc
|
||||
abcdefg abcdefg abcdefg
|
||||
abcdefg abcdefg def
|
||||
def abc abc
|
||||
def abc def
|
||||
def def abc
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BINARY(10) NOT NULL, c2 BINARY(10) NOT NULL, c3 BINARY(10) NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg',c3='abcdefg';
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg';
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def') ON DUPLICATE KEY UPDATE c2='abcdefg',c3='abcdefg';
|
||||
SELECT hex(c1), hex(c2), hex(c3) FROM t1;
|
||||
hex(c1) hex(c2) hex(c3)
|
||||
61626300000000000000 61626364656667000000 61626364656667000000
|
||||
61626300000000000000 64656600000000000000 61626300000000000000
|
||||
61626364656667000000 61626364656667000000 61626364656667000000
|
||||
61626364656667000000 61626364656667000000 64656600000000000000
|
||||
64656600000000000000 61626300000000000000 61626300000000000000
|
||||
64656600000000000000 61626300000000000000 64656600000000000000
|
||||
64656600000000000000 64656600000000000000 61626300000000000000
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARBINARY(10) NOT NULL, c2 VARBINARY(10) NOT NULL, c3 VARBINARY(10) NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg',c3='abcdefg';
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg';
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def') ON DUPLICATE KEY UPDATE c2='abcdefg',c3='abcdefg';
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
abc abcdefg abcdefg
|
||||
abc def abc
|
||||
abcdefg abcdefg abcdefg
|
||||
abcdefg abcdefg def
|
||||
def abc abc
|
||||
def abc def
|
||||
def def abc
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,97 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 CHAR(10) NOT NULL, c2 CHAR(10) NOT NULL, c3 CHAR(10) NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
ERROR 23000: Duplicate entry 'abc-abc-abc' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
ERROR 23000: Duplicate entry 'abc-abc-def' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
ERROR 23000: Duplicate entry 'abc-def-def' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
abc abc abc
|
||||
abc abc def
|
||||
abc def abc
|
||||
abc def def
|
||||
def abc abc
|
||||
def abc def
|
||||
def def abc
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARCHAR(10) NOT NULL, c2 VARCHAR(10) NOT NULL, c3 VARCHAR(10) NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
ERROR 23000: Duplicate entry 'abc-abc-abc' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
ERROR 23000: Duplicate entry 'abc-abc-def' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
ERROR 23000: Duplicate entry 'abc-def-def' for key 'PRIMARY'
|
||||
SELECT hex(c1),hex(c2),hex(c3) FROM t1;
|
||||
hex(c1) hex(c2) hex(c3)
|
||||
616263 616263 616263
|
||||
616263 616263 646566
|
||||
616263 646566 616263
|
||||
616263 646566 646566
|
||||
646566 616263 616263
|
||||
646566 616263 646566
|
||||
646566 646566 616263
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BINARY(10) NOT NULL, c2 BINARY(10) NOT NULL, c3 BINARY(10) NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
ERROR 23000: Duplicate entry 'abc' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
ERROR 23000: Duplicate entry 'abc' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
ERROR 23000: Duplicate entry 'abc' for key 'PRIMARY'
|
||||
SELECT hex(c1),hex(c2),hex(c3) FROM t1;
|
||||
hex(c1) hex(c2) hex(c3)
|
||||
61626300000000000000 61626300000000000000 61626300000000000000
|
||||
61626300000000000000 61626300000000000000 64656600000000000000
|
||||
61626300000000000000 64656600000000000000 61626300000000000000
|
||||
61626300000000000000 64656600000000000000 64656600000000000000
|
||||
64656600000000000000 61626300000000000000 61626300000000000000
|
||||
64656600000000000000 61626300000000000000 64656600000000000000
|
||||
64656600000000000000 64656600000000000000 61626300000000000000
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARBINARY(10) NOT NULL, c2 VARBINARY(10) NOT NULL, c3 VARBINARY(10) NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
ERROR 23000: Duplicate entry 'abc-abc-abc' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
ERROR 23000: Duplicate entry 'abc-abc-def' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
ERROR 23000: Duplicate entry 'abc-def-def' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
abc abc abc
|
||||
abc abc def
|
||||
abc def abc
|
||||
abc def def
|
||||
def abc abc
|
||||
def abc def
|
||||
def def abc
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,91 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 CHAR(10) NOT NULL, c2 CHAR(10) NOT NULL, c3 CHAR(10) NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
ERROR 23000: Duplicate entry 'abc-abc-abc' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
ERROR 23000: Duplicate entry 'abc-abc-def' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
ERROR 23000: Duplicate entry 'abc-def-def' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
abc abc abc
|
||||
abc abc def
|
||||
abc def abc
|
||||
abc def def
|
||||
def abc abc
|
||||
def abc def
|
||||
def def abc
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARCHAR(10) NOT NULL, c2 VARCHAR(10) NOT NULL, c3 VARCHAR(10) NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
ERROR 23000: Duplicate entry 'abc-abc-abc' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
ERROR 23000: Duplicate entry 'abc-abc-def' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
ERROR 23000: Duplicate entry 'abc-def-def' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
abc abc abc
|
||||
abc abc def
|
||||
abc def abc
|
||||
abc def def
|
||||
def abc abc
|
||||
def abc def
|
||||
def def abc
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BINARY(10) NOT NULL, c2 BINARY(10) NOT NULL, c3 BINARY(10) NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
ERROR 23000: Duplicate entry 'abc' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
ERROR 23000: Duplicate entry 'abc' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
ERROR 23000: Duplicate entry 'abc' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
abc
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARBINARY(10) NOT NULL, c2 VARBINARY(10) NOT NULL, c3 VARBINARY(10) NOT NULL, PRIMARY KEY(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
ERROR 23000: Duplicate entry 'abc-abc-abc' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
ERROR 23000: Duplicate entry 'abc-abc-def' for key 'PRIMARY'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
ERROR 23000: Duplicate entry 'abc-def-def' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
abc abc abc
|
||||
abc abc def
|
||||
abc def abc
|
||||
abc def def
|
||||
def abc abc
|
||||
def abc def
|
||||
def def abc
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,85 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 CHAR(10) NULL, c2 CHAR(10) NULL, c3 CHAR(10) NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg',c3='abcdefg';
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg';
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def') ON DUPLICATE KEY UPDATE c2='abcdefg',c3='abcdefg';
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
abc abcdefg abcdefg
|
||||
abc def abc
|
||||
abcdefg abcdefg abcdefg
|
||||
abcdefg abcdefg def
|
||||
def abc abc
|
||||
def abc def
|
||||
def def abc
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARCHAR(10) NULL, c2 VARCHAR(10) NULL, c3 VARCHAR(10) NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg',c3='abcdefg';
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg';
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def') ON DUPLICATE KEY UPDATE c2='abcdefg',c3='abcdefg';
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
abc abcdefg abcdefg
|
||||
abc def abc
|
||||
abcdefg abcdefg abcdefg
|
||||
abcdefg abcdefg def
|
||||
def abc abc
|
||||
def abc def
|
||||
def def abc
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BINARY(10) NULL, c2 BINARY(10) NULL, c3 BINARY(10) NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg',c3='abcdefg';
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg';
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def') ON DUPLICATE KEY UPDATE c2='abcdefg',c3='abcdefg';
|
||||
SELECT hex(c1),hex(c2),hex(c3) FROM t1;
|
||||
hex(c1) hex(c2) hex(c3)
|
||||
61626300000000000000 61626364656667000000 61626364656667000000
|
||||
61626300000000000000 64656600000000000000 61626300000000000000
|
||||
61626364656667000000 61626364656667000000 61626364656667000000
|
||||
61626364656667000000 61626364656667000000 64656600000000000000
|
||||
64656600000000000000 61626300000000000000 61626300000000000000
|
||||
64656600000000000000 61626300000000000000 64656600000000000000
|
||||
64656600000000000000 64656600000000000000 61626300000000000000
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARBINARY(10) NULL, c2 VARBINARY(10) NULL, c3 VARBINARY(10) NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg',c3='abcdefg';
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def') ON DUPLICATE KEY UPDATE c1='abcdefg',c2='abcdefg';
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def') ON DUPLICATE KEY UPDATE c2='abcdefg',c3='abcdefg';
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
abc abcdefg abcdefg
|
||||
abc def abc
|
||||
abcdefg abcdefg abcdefg
|
||||
abcdefg abcdefg def
|
||||
def abc abc
|
||||
def abc def
|
||||
def def abc
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,91 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 CHAR(10) NULL, c2 CHAR(10) NULL, c3 CHAR(10) NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
ERROR 23000: Duplicate entry 'abc-abc-abc' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
ERROR 23000: Duplicate entry 'abc-abc-def' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
ERROR 23000: Duplicate entry 'abc-def-def' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
abc abc abc
|
||||
abc abc def
|
||||
abc def abc
|
||||
abc def def
|
||||
def abc abc
|
||||
def abc def
|
||||
def def abc
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARCHAR(10) NULL, c2 VARCHAR(10) NULL, c3 VARCHAR(10) NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
ERROR 23000: Duplicate entry 'abc-abc-abc' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
ERROR 23000: Duplicate entry 'abc-abc-def' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
ERROR 23000: Duplicate entry 'abc-def-def' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
abc abc abc
|
||||
abc abc def
|
||||
abc def abc
|
||||
abc def def
|
||||
def abc abc
|
||||
def abc def
|
||||
def def abc
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BINARY(10) NULL, c2 BINARY(10) NULL, c3 BINARY(10) NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
ERROR 23000: Duplicate entry 'abc' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
ERROR 23000: Duplicate entry 'abc' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
ERROR 23000: Duplicate entry 'abc' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
abc
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARBINARY(10) NULL, c2 VARBINARY(10) NULL, c3 VARBINARY(10) NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
ERROR 23000: Duplicate entry 'abc-abc-abc' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
ERROR 23000: Duplicate entry 'abc-abc-def' for key 'c1'
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
ERROR 23000: Duplicate entry 'abc-def-def' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
abc abc abc
|
||||
abc abc def
|
||||
abc def abc
|
||||
abc def def
|
||||
def abc abc
|
||||
def abc def
|
||||
def def abc
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,79 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 CHAR(10) NULL, c2 CHAR(10) NULL, c3 CHAR(10) NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
abc abc abc
|
||||
abc abc def
|
||||
abc def abc
|
||||
abc def def
|
||||
def abc abc
|
||||
def abc def
|
||||
def def abc
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARCHAR(10) NULL, c2 VARCHAR(10) NULL, c3 VARCHAR(10) NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
abc abc abc
|
||||
abc abc def
|
||||
abc def abc
|
||||
abc def def
|
||||
def abc abc
|
||||
def abc def
|
||||
def def abc
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BINARY(10) NULL, c2 BINARY(10) NULL, c3 BINARY(10) NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
abc
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARBINARY(10) NULL, c2 VARBINARY(10) NULL, c3 VARBINARY(10) NULL, UNIQUE(c1,c2,c3));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','def','abc');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('def','abc','def');
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES('abc','abc','abc');
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES('abc','abc','def');
|
||||
INSERT IGNORE INTO t1 (c1,c2,c3) VALUES('abc','def','def');
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
abc abc abc
|
||||
abc abc def
|
||||
abc def abc
|
||||
abc def def
|
||||
def abc abc
|
||||
def abc def
|
||||
def def abc
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,225 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 TINYINT NOT NULL, c2 TINYINT NULL, c3 TINYINT NULL, PRIMARY KEY (c1), UNIQUE (c2));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 14 100
|
||||
11 13 10
|
||||
12 12 100
|
||||
13 11 10
|
||||
14 10 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 SMALLINT NULL, c3 SMALLINT NULL, PRIMARY KEY (c1), UNIQUE (c2));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 14 100
|
||||
11 13 10
|
||||
12 12 100
|
||||
13 11 10
|
||||
14 10 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 MEDIUMINT NULL, c3 MEDIUMINT NULL, PRIMARY KEY (c1), UNIQUE (c2));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 14 100
|
||||
11 13 10
|
||||
12 12 100
|
||||
13 11 10
|
||||
14 10 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NOT NULL, c2 INT NULL, c3 INT NULL, PRIMARY KEY (c1), UNIQUE (c2));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 14 100
|
||||
11 13 10
|
||||
12 12 100
|
||||
13 11 10
|
||||
14 10 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NOT NULL, c2 INTEGER NULL, c3 INTEGER NULL, PRIMARY KEY (c1), UNIQUE (c2));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 14 100
|
||||
11 13 10
|
||||
12 12 100
|
||||
13 11 10
|
||||
14 10 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NOT NULL, c2 BIGINT NULL, c3 BIGINT NULL, PRIMARY KEY (c1), UNIQUE (c2));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 14 100
|
||||
11 13 10
|
||||
12 12 100
|
||||
13 11 10
|
||||
14 10 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 DECIMAL NULL, c3 DECIMAL NULL, PRIMARY KEY (c1), UNIQUE (c2));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 14 100
|
||||
11 13 10
|
||||
12 12 100
|
||||
13 11 10
|
||||
14 10 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DEC NOT NULL, c2 DEC NULL, c3 DEC NULL, PRIMARY KEY (c1), UNIQUE (c2));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 14 100
|
||||
11 13 10
|
||||
12 12 100
|
||||
13 11 10
|
||||
14 10 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 FIXED NOT NULL, c2 FIXED NULL, c3 FIXED NULL, PRIMARY KEY (c1), UNIQUE (c2));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 14 100
|
||||
11 13 10
|
||||
12 12 100
|
||||
13 11 10
|
||||
14 10 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 NUMERIC NULL, c3 NUMERIC NULL, PRIMARY KEY (c1), UNIQUE (c2));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 14 100
|
||||
11 13 10
|
||||
12 12 100
|
||||
13 11 10
|
||||
14 10 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 DOUBLE NULL, c3 DOUBLE NULL, PRIMARY KEY (c1), UNIQUE (c2));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 14 100
|
||||
11 13 10
|
||||
12 12 100
|
||||
13 11 10
|
||||
14 10 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 REAL NOT NULL, c2 REAL NULL, c3 REAL NULL, PRIMARY KEY (c1), UNIQUE (c2));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 14 100
|
||||
11 13 10
|
||||
12 12 100
|
||||
13 11 10
|
||||
14 10 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DOUBLE PRECISION NOT NULL, c2 DOUBLE PRECISION NULL, c3 DOUBLE PRECISION NULL, PRIMARY KEY (c1), UNIQUE (c2));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 14 100
|
||||
11 13 10
|
||||
12 12 100
|
||||
13 11 10
|
||||
14 10 10
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 FLOAT NOT NULL, c2 FLOAT NULL, c3 FLOAT NULL, PRIMARY KEY (c1), UNIQUE (c2));
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,14,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(11,13,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(13,11,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(14,10,10);
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(12,12,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
INSERT INTO t1 (c1,c2,c3) VALUES(10,10,10) ON DUPLICATE KEY UPDATE c3=100;
|
||||
SELECT * FROM t1;
|
||||
c1 c2 c3
|
||||
10 14 100
|
||||
11 13 10
|
||||
12 12 100
|
||||
13 11 10
|
||||
14 10 10
|
||||
DROP TABLE t1;
|
116
mysql-test/suite/engines/funcs/r/in_number_boundary_error.result
Normal file
116
mysql-test/suite/engines/funcs/r/in_number_boundary_error.result
Normal file
|
@ -0,0 +1,116 @@
|
|||
SET SQL_MODE="TRADITIONAL,ANSI";
|
||||
DROP TABLE IF EXISTS t4;
|
||||
CREATE TABLE t4(c1 TINYINT UNSIGNED NOT NULL);
|
||||
INSERT INTO t4 (c1) VALUES(NULL);
|
||||
ERROR 23000: Column 'c1' cannot be null
|
||||
INSERT INTO t4 (c1) VALUES(0);
|
||||
INSERT INTO t4 (c1) VALUES(-1);
|
||||
ERROR 22003: Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t4 (c1) VALUES('x');
|
||||
ERROR HY000: Incorrect integer value: 'x' for column 'c1' at row 1
|
||||
INSERT INTO t4 (c1) VALUES('9');
|
||||
SELECT COUNT(c1) AS total_rows FROM t4;
|
||||
total_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS null_rows FROM t4 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
SELECT COUNT(c1) AS not_null_rows FROM t4 WHERE c1 IS NOT NULL;
|
||||
not_null_rows
|
||||
2
|
||||
DROP TABLE t4;
|
||||
CREATE TABLE t4(c1 SMALLINT UNSIGNED NOT NULL);
|
||||
INSERT INTO t4 (c1) VALUES(NULL);
|
||||
ERROR 23000: Column 'c1' cannot be null
|
||||
INSERT INTO t4 (c1) VALUES(0);
|
||||
INSERT INTO t4 (c1) VALUES(-1);
|
||||
ERROR 22003: Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t4 (c1) VALUES('x');
|
||||
ERROR HY000: Incorrect integer value: 'x' for column 'c1' at row 1
|
||||
INSERT INTO t4 (c1) VALUES('9');
|
||||
SELECT COUNT(c1) AS total_rows FROM t4;
|
||||
total_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS null_rows FROM t4 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
SELECT COUNT(c1) AS not_null_rows FROM t4 WHERE c1 IS NOT NULL;
|
||||
not_null_rows
|
||||
2
|
||||
DROP TABLE t4;
|
||||
CREATE TABLE t4(c1 MEDIUMINT UNSIGNED NOT NULL);
|
||||
INSERT INTO t4 (c1) VALUES(NULL);
|
||||
ERROR 23000: Column 'c1' cannot be null
|
||||
INSERT INTO t4 (c1) VALUES(0);
|
||||
INSERT INTO t4 (c1) VALUES(-1);
|
||||
ERROR 22003: Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t4 (c1) VALUES('x');
|
||||
ERROR HY000: Incorrect integer value: 'x' for column 'c1' at row 1
|
||||
INSERT INTO t4 (c1) VALUES('9');
|
||||
SELECT COUNT(c1) AS total_rows FROM t4;
|
||||
total_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS null_rows FROM t4 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
SELECT COUNT(c1) AS not_null_rows FROM t4 WHERE c1 IS NOT NULL;
|
||||
not_null_rows
|
||||
2
|
||||
DROP TABLE t4;
|
||||
CREATE TABLE t4(c1 INT UNSIGNED NOT NULL);
|
||||
INSERT INTO t4 (c1) VALUES(NULL);
|
||||
ERROR 23000: Column 'c1' cannot be null
|
||||
INSERT INTO t4 (c1) VALUES(0);
|
||||
INSERT INTO t4 (c1) VALUES(-1);
|
||||
ERROR 22003: Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t4 (c1) VALUES('x');
|
||||
ERROR HY000: Incorrect integer value: 'x' for column 'c1' at row 1
|
||||
INSERT INTO t4 (c1) VALUES('9');
|
||||
SELECT COUNT(c1) AS total_rows FROM t4;
|
||||
total_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS null_rows FROM t4 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
SELECT COUNT(c1) AS not_null_rows FROM t4 WHERE c1 IS NOT NULL;
|
||||
not_null_rows
|
||||
2
|
||||
DROP TABLE t4;
|
||||
CREATE TABLE t4(c1 INTEGER UNSIGNED NOT NULL);
|
||||
INSERT INTO t4 (c1) VALUES(NULL);
|
||||
ERROR 23000: Column 'c1' cannot be null
|
||||
INSERT INTO t4 (c1) VALUES(0);
|
||||
INSERT INTO t4 (c1) VALUES(-1);
|
||||
ERROR 22003: Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t4 (c1) VALUES('x');
|
||||
ERROR HY000: Incorrect integer value: 'x' for column 'c1' at row 1
|
||||
INSERT INTO t4 (c1) VALUES('9');
|
||||
SELECT COUNT(c1) AS total_rows FROM t4;
|
||||
total_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS null_rows FROM t4 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
SELECT COUNT(c1) AS not_null_rows FROM t4 WHERE c1 IS NOT NULL;
|
||||
not_null_rows
|
||||
2
|
||||
DROP TABLE t4;
|
||||
CREATE TABLE t4(c1 BIGINT UNSIGNED NOT NULL);
|
||||
INSERT INTO t4 (c1) VALUES(NULL);
|
||||
ERROR 23000: Column 'c1' cannot be null
|
||||
INSERT INTO t4 (c1) VALUES(0);
|
||||
INSERT INTO t4 (c1) VALUES(-1);
|
||||
ERROR 22003: Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t4 (c1) VALUES('x');
|
||||
ERROR HY000: Incorrect integer value: 'x' for column 'c1' at row 1
|
||||
INSERT INTO t4 (c1) VALUES('9');
|
||||
SELECT COUNT(c1) AS total_rows FROM t4;
|
||||
total_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS null_rows FROM t4 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
SELECT COUNT(c1) AS not_null_rows FROM t4 WHERE c1 IS NOT NULL;
|
||||
not_null_rows
|
||||
2
|
||||
DROP TABLE t4;
|
|
@ -0,0 +1,82 @@
|
|||
SET SQL_MODE="TRADITIONAL,ANSI";
|
||||
DROP TABLE IF EXISTS t5;
|
||||
CREATE TABLE t5(c1 DECIMAL(5,4) UNSIGNED NOT NULL);
|
||||
INSERT INTO t5 (c1) VALUES(NULL);
|
||||
ERROR 23000: Column 'c1' cannot be null
|
||||
INSERT INTO t5 (c1) VALUES(0);
|
||||
INSERT INTO t5 (c1) VALUES(-1);
|
||||
ERROR 22003: Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t5 (c1) VALUES('x');
|
||||
ERROR HY000: Incorrect decimal value: 'x' for column 'c1' at row 1
|
||||
INSERT INTO t5 (c1) VALUES(999999);
|
||||
ERROR 22003: Out of range value for column 'c1' at row 1
|
||||
SELECT COUNT(c1) AS total_rows FROM t5;
|
||||
total_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS null_rows FROM t5 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
SELECT COUNT(c1) AS not_null_rows FROM t5 WHERE c1 IS NOT NULL;
|
||||
not_null_rows
|
||||
1
|
||||
DROP TABLE t5;
|
||||
CREATE TABLE t5(c1 DEC(5,4) UNSIGNED NOT NULL);
|
||||
INSERT INTO t5 (c1) VALUES(NULL);
|
||||
ERROR 23000: Column 'c1' cannot be null
|
||||
INSERT INTO t5 (c1) VALUES(0);
|
||||
INSERT INTO t5 (c1) VALUES(-1);
|
||||
ERROR 22003: Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t5 (c1) VALUES('x');
|
||||
ERROR HY000: Incorrect decimal value: 'x' for column 'c1' at row 1
|
||||
INSERT INTO t5 (c1) VALUES(999999);
|
||||
ERROR 22003: Out of range value for column 'c1' at row 1
|
||||
SELECT COUNT(c1) AS total_rows FROM t5;
|
||||
total_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS null_rows FROM t5 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
SELECT COUNT(c1) AS not_null_rows FROM t5 WHERE c1 IS NOT NULL;
|
||||
not_null_rows
|
||||
1
|
||||
DROP TABLE t5;
|
||||
CREATE TABLE t5(c1 FIXED(5,4) UNSIGNED NOT NULL);
|
||||
INSERT INTO t5 (c1) VALUES(NULL);
|
||||
ERROR 23000: Column 'c1' cannot be null
|
||||
INSERT INTO t5 (c1) VALUES(0);
|
||||
INSERT INTO t5 (c1) VALUES(-1);
|
||||
ERROR 22003: Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t5 (c1) VALUES('x');
|
||||
ERROR HY000: Incorrect decimal value: 'x' for column 'c1' at row 1
|
||||
INSERT INTO t5 (c1) VALUES(999999);
|
||||
ERROR 22003: Out of range value for column 'c1' at row 1
|
||||
SELECT COUNT(c1) AS total_rows FROM t5;
|
||||
total_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS null_rows FROM t5 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
SELECT COUNT(c1) AS not_null_rows FROM t5 WHERE c1 IS NOT NULL;
|
||||
not_null_rows
|
||||
1
|
||||
DROP TABLE t5;
|
||||
CREATE TABLE t5(c1 NUMERIC(5,4) UNSIGNED NOT NULL);
|
||||
INSERT INTO t5 (c1) VALUES(NULL);
|
||||
ERROR 23000: Column 'c1' cannot be null
|
||||
INSERT INTO t5 (c1) VALUES(0);
|
||||
INSERT INTO t5 (c1) VALUES(-1);
|
||||
ERROR 22003: Out of range value for column 'c1' at row 1
|
||||
INSERT INTO t5 (c1) VALUES('x');
|
||||
ERROR HY000: Incorrect decimal value: 'x' for column 'c1' at row 1
|
||||
INSERT INTO t5 (c1) VALUES(999999);
|
||||
ERROR 22003: Out of range value for column 'c1' at row 1
|
||||
SELECT COUNT(c1) AS total_rows FROM t5;
|
||||
total_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS null_rows FROM t5 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
SELECT COUNT(c1) AS not_null_rows FROM t5 WHERE c1 IS NOT NULL;
|
||||
not_null_rows
|
||||
1
|
||||
DROP TABLE t5;
|
369
mysql-test/suite/engines/funcs/r/in_number_length.result
Normal file
369
mysql-test/suite/engines/funcs/r/in_number_length.result
Normal file
|
@ -0,0 +1,369 @@
|
|||
DROP TABLE IF EXISTS t4,t5;
|
||||
CREATE TABLE t4(c1 DECIMAL(1,0) NOT NULL);
|
||||
INSERT INTO t4 (c1) VALUES(0);
|
||||
INSERT INTO t4 (c1) VALUES(1.0);
|
||||
INSERT INTO t4 (c1) VALUES(-9.0);
|
||||
SELECT * FROM t4;
|
||||
c1
|
||||
0
|
||||
1
|
||||
-9
|
||||
SELECT COUNT(c1) AS total_rows FROM t4;
|
||||
total_rows
|
||||
3
|
||||
SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0;
|
||||
positive_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0;
|
||||
negative_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0;
|
||||
zero_rows
|
||||
1
|
||||
DROP TABLE t4;
|
||||
CREATE TABLE t5(c1 DECIMAL(5,4) NOT NULL);
|
||||
INSERT INTO t5 (c1) VALUES(0);
|
||||
INSERT INTO t5 (c1) VALUES(1.0);
|
||||
INSERT INTO t5 (c1) VALUES(1.2345);
|
||||
INSERT INTO t5 (c1) VALUES(-9.0);
|
||||
INSERT INTO t5 (c1) VALUES(-9.12345);
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
SELECT * FROM t5;
|
||||
c1
|
||||
0.0000
|
||||
1.0000
|
||||
1.2345
|
||||
-9.0000
|
||||
-9.1235
|
||||
SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0;
|
||||
positive_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0;
|
||||
negative_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0;
|
||||
zero_rows
|
||||
1
|
||||
DROP TABLE t5;
|
||||
CREATE TABLE t4(c1 DEC(1,0) NOT NULL);
|
||||
INSERT INTO t4 (c1) VALUES(0);
|
||||
INSERT INTO t4 (c1) VALUES(1.0);
|
||||
INSERT INTO t4 (c1) VALUES(-9.0);
|
||||
SELECT * FROM t4;
|
||||
c1
|
||||
0
|
||||
1
|
||||
-9
|
||||
SELECT COUNT(c1) AS total_rows FROM t4;
|
||||
total_rows
|
||||
3
|
||||
SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0;
|
||||
positive_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0;
|
||||
negative_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0;
|
||||
zero_rows
|
||||
1
|
||||
DROP TABLE t4;
|
||||
CREATE TABLE t5(c1 DEC(5,4) NOT NULL);
|
||||
INSERT INTO t5 (c1) VALUES(0);
|
||||
INSERT INTO t5 (c1) VALUES(1.0);
|
||||
INSERT INTO t5 (c1) VALUES(1.2345);
|
||||
INSERT INTO t5 (c1) VALUES(-9.0);
|
||||
INSERT INTO t5 (c1) VALUES(-9.12345);
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
SELECT * FROM t5;
|
||||
c1
|
||||
0.0000
|
||||
1.0000
|
||||
1.2345
|
||||
-9.0000
|
||||
-9.1235
|
||||
SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0;
|
||||
positive_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0;
|
||||
negative_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0;
|
||||
zero_rows
|
||||
1
|
||||
DROP TABLE t5;
|
||||
CREATE TABLE t4(c1 FIXED(1,0) NOT NULL);
|
||||
INSERT INTO t4 (c1) VALUES(0);
|
||||
INSERT INTO t4 (c1) VALUES(1.0);
|
||||
INSERT INTO t4 (c1) VALUES(-9.0);
|
||||
SELECT * FROM t4;
|
||||
c1
|
||||
0
|
||||
1
|
||||
-9
|
||||
SELECT COUNT(c1) AS total_rows FROM t4;
|
||||
total_rows
|
||||
3
|
||||
SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0;
|
||||
positive_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0;
|
||||
negative_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0;
|
||||
zero_rows
|
||||
1
|
||||
DROP TABLE t4;
|
||||
CREATE TABLE t5(c1 FIXED(5,4) NOT NULL);
|
||||
INSERT INTO t5 (c1) VALUES(0);
|
||||
INSERT INTO t5 (c1) VALUES(1.0);
|
||||
INSERT INTO t5 (c1) VALUES(1.2345);
|
||||
INSERT INTO t5 (c1) VALUES(-9.0);
|
||||
INSERT INTO t5 (c1) VALUES(-9.12345);
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
SELECT * FROM t5;
|
||||
c1
|
||||
0.0000
|
||||
1.0000
|
||||
1.2345
|
||||
-9.0000
|
||||
-9.1235
|
||||
SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0;
|
||||
positive_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0;
|
||||
negative_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0;
|
||||
zero_rows
|
||||
1
|
||||
DROP TABLE t5;
|
||||
CREATE TABLE t4(c1 NUMERIC(1,0) NOT NULL);
|
||||
INSERT INTO t4 (c1) VALUES(0);
|
||||
INSERT INTO t4 (c1) VALUES(1.0);
|
||||
INSERT INTO t4 (c1) VALUES(-9.0);
|
||||
SELECT * FROM t4;
|
||||
c1
|
||||
0
|
||||
1
|
||||
-9
|
||||
SELECT COUNT(c1) AS total_rows FROM t4;
|
||||
total_rows
|
||||
3
|
||||
SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0;
|
||||
positive_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0;
|
||||
negative_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0;
|
||||
zero_rows
|
||||
1
|
||||
DROP TABLE t4;
|
||||
CREATE TABLE t5(c1 NUMERIC(5,4) NOT NULL);
|
||||
INSERT INTO t5 (c1) VALUES(0);
|
||||
INSERT INTO t5 (c1) VALUES(1.0);
|
||||
INSERT INTO t5 (c1) VALUES(1.2345);
|
||||
INSERT INTO t5 (c1) VALUES(-9.0);
|
||||
INSERT INTO t5 (c1) VALUES(-9.12345);
|
||||
Warnings:
|
||||
Note 1265 Data truncated for column 'c1' at row 1
|
||||
SELECT * FROM t5;
|
||||
c1
|
||||
0.0000
|
||||
1.0000
|
||||
1.2345
|
||||
-9.0000
|
||||
-9.1235
|
||||
SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0;
|
||||
positive_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0;
|
||||
negative_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0;
|
||||
zero_rows
|
||||
1
|
||||
DROP TABLE t5;
|
||||
CREATE TABLE t4(c1 DOUBLE(1,0) NOT NULL);
|
||||
INSERT INTO t4 (c1) VALUES(0);
|
||||
INSERT INTO t4 (c1) VALUES(1.0);
|
||||
INSERT INTO t4 (c1) VALUES(-9.0);
|
||||
SELECT * FROM t4;
|
||||
c1
|
||||
0
|
||||
1
|
||||
-9
|
||||
SELECT COUNT(c1) AS total_rows FROM t4;
|
||||
total_rows
|
||||
3
|
||||
SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0;
|
||||
positive_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0;
|
||||
negative_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0;
|
||||
zero_rows
|
||||
1
|
||||
DROP TABLE t4;
|
||||
CREATE TABLE t5(c1 DOUBLE(5,4) NOT NULL);
|
||||
INSERT INTO t5 (c1) VALUES(0);
|
||||
INSERT INTO t5 (c1) VALUES(1.0);
|
||||
INSERT INTO t5 (c1) VALUES(1.2345);
|
||||
INSERT INTO t5 (c1) VALUES(-9.0);
|
||||
INSERT INTO t5 (c1) VALUES(-9.12345);
|
||||
SELECT * FROM t5;
|
||||
c1
|
||||
0.0000
|
||||
1.0000
|
||||
1.2345
|
||||
-9.0000
|
||||
-9.1234
|
||||
SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0;
|
||||
positive_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0;
|
||||
negative_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0;
|
||||
zero_rows
|
||||
1
|
||||
DROP TABLE t5;
|
||||
CREATE TABLE t4(c1 REAL(1,0) NOT NULL);
|
||||
INSERT INTO t4 (c1) VALUES(0);
|
||||
INSERT INTO t4 (c1) VALUES(1.0);
|
||||
INSERT INTO t4 (c1) VALUES(-9.0);
|
||||
SELECT * FROM t4;
|
||||
c1
|
||||
0
|
||||
1
|
||||
-9
|
||||
SELECT COUNT(c1) AS total_rows FROM t4;
|
||||
total_rows
|
||||
3
|
||||
SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0;
|
||||
positive_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0;
|
||||
negative_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0;
|
||||
zero_rows
|
||||
1
|
||||
DROP TABLE t4;
|
||||
CREATE TABLE t5(c1 REAL(5,4) NOT NULL);
|
||||
INSERT INTO t5 (c1) VALUES(0);
|
||||
INSERT INTO t5 (c1) VALUES(1.0);
|
||||
INSERT INTO t5 (c1) VALUES(1.2345);
|
||||
INSERT INTO t5 (c1) VALUES(-9.0);
|
||||
INSERT INTO t5 (c1) VALUES(-9.12345);
|
||||
SELECT * FROM t5;
|
||||
c1
|
||||
0.0000
|
||||
1.0000
|
||||
1.2345
|
||||
-9.0000
|
||||
-9.1234
|
||||
SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0;
|
||||
positive_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0;
|
||||
negative_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0;
|
||||
zero_rows
|
||||
1
|
||||
DROP TABLE t5;
|
||||
CREATE TABLE t4(c1 DOUBLE PRECISION(1,0) NOT NULL);
|
||||
INSERT INTO t4 (c1) VALUES(0);
|
||||
INSERT INTO t4 (c1) VALUES(1.0);
|
||||
INSERT INTO t4 (c1) VALUES(-9.0);
|
||||
SELECT * FROM t4;
|
||||
c1
|
||||
0
|
||||
1
|
||||
-9
|
||||
SELECT COUNT(c1) AS total_rows FROM t4;
|
||||
total_rows
|
||||
3
|
||||
SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0;
|
||||
positive_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0;
|
||||
negative_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0;
|
||||
zero_rows
|
||||
1
|
||||
DROP TABLE t4;
|
||||
CREATE TABLE t5(c1 DOUBLE PRECISION(5,4) NOT NULL);
|
||||
INSERT INTO t5 (c1) VALUES(0);
|
||||
INSERT INTO t5 (c1) VALUES(1.0);
|
||||
INSERT INTO t5 (c1) VALUES(1.2345);
|
||||
INSERT INTO t5 (c1) VALUES(-9.0);
|
||||
INSERT INTO t5 (c1) VALUES(-9.12345);
|
||||
SELECT * FROM t5;
|
||||
c1
|
||||
0.0000
|
||||
1.0000
|
||||
1.2345
|
||||
-9.0000
|
||||
-9.1234
|
||||
SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0;
|
||||
positive_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0;
|
||||
negative_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0;
|
||||
zero_rows
|
||||
1
|
||||
DROP TABLE t5;
|
||||
CREATE TABLE t4(c1 FLOAT(1,0) NOT NULL);
|
||||
INSERT INTO t4 (c1) VALUES(0);
|
||||
INSERT INTO t4 (c1) VALUES(1.0);
|
||||
INSERT INTO t4 (c1) VALUES(-9.0);
|
||||
SELECT * FROM t4;
|
||||
c1
|
||||
0
|
||||
1
|
||||
-9
|
||||
SELECT COUNT(c1) AS total_rows FROM t4;
|
||||
total_rows
|
||||
3
|
||||
SELECT COUNT(c1) AS positive_rows FROM t4 WHERE c1 > 0.0;
|
||||
positive_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS negative_rows FROM t4 WHERE c1 < 0.0;
|
||||
negative_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS zero_rows FROM t4 WHERE c1 = 0.0;
|
||||
zero_rows
|
||||
1
|
||||
DROP TABLE t4;
|
||||
CREATE TABLE t5(c1 FLOAT(5,4) NOT NULL);
|
||||
INSERT INTO t5 (c1) VALUES(0);
|
||||
INSERT INTO t5 (c1) VALUES(1.0);
|
||||
INSERT INTO t5 (c1) VALUES(1.2345);
|
||||
INSERT INTO t5 (c1) VALUES(-9.0);
|
||||
INSERT INTO t5 (c1) VALUES(-9.12345);
|
||||
SELECT * FROM t5;
|
||||
c1
|
||||
0.0000
|
||||
1.0000
|
||||
1.2345
|
||||
-9.0000
|
||||
-9.1234
|
||||
SELECT COUNT(c1) AS positive_rows FROM t5 WHERE c1 > 0.0;
|
||||
positive_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS negative_rows FROM t5 WHERE c1 < 0.0;
|
||||
negative_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS zero_rows FROM t5 WHERE c1 = 0.0;
|
||||
zero_rows
|
||||
1
|
||||
DROP TABLE t5;
|
133
mysql-test/suite/engines/funcs/r/in_number_null.result
Normal file
133
mysql-test/suite/engines/funcs/r/in_number_null.result
Normal file
|
@ -0,0 +1,133 @@
|
|||
DROP TABLE IF EXISTS t6;
|
||||
CREATE TABLE t6(c1 TINYINT UNSIGNED NULL);
|
||||
INSERT INTO t6 (c1) VALUES(NULL);
|
||||
INSERT INTO t6 (c1) VALUES(0);
|
||||
INSERT INTO t6 (c1) VALUES(255);
|
||||
SELECT * FROM t6;
|
||||
c1
|
||||
NULL
|
||||
0
|
||||
255
|
||||
SELECT COUNT(c1) AS total_rows FROM t6;
|
||||
total_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0;
|
||||
positive_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL;
|
||||
not_null_rows
|
||||
2
|
||||
DROP TABLE t6;
|
||||
CREATE TABLE t6(c1 SMALLINT UNSIGNED NULL);
|
||||
INSERT INTO t6 (c1) VALUES(NULL);
|
||||
INSERT INTO t6 (c1) VALUES(0);
|
||||
INSERT INTO t6 (c1) VALUES(255);
|
||||
SELECT * FROM t6;
|
||||
c1
|
||||
NULL
|
||||
0
|
||||
255
|
||||
SELECT COUNT(c1) AS total_rows FROM t6;
|
||||
total_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0;
|
||||
positive_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL;
|
||||
not_null_rows
|
||||
2
|
||||
DROP TABLE t6;
|
||||
CREATE TABLE t6(c1 MEDIUMINT UNSIGNED NULL);
|
||||
INSERT INTO t6 (c1) VALUES(NULL);
|
||||
INSERT INTO t6 (c1) VALUES(0);
|
||||
INSERT INTO t6 (c1) VALUES(255);
|
||||
SELECT * FROM t6;
|
||||
c1
|
||||
NULL
|
||||
0
|
||||
255
|
||||
SELECT COUNT(c1) AS total_rows FROM t6;
|
||||
total_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0;
|
||||
positive_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL;
|
||||
not_null_rows
|
||||
2
|
||||
DROP TABLE t6;
|
||||
CREATE TABLE t6(c1 INT UNSIGNED NULL);
|
||||
INSERT INTO t6 (c1) VALUES(NULL);
|
||||
INSERT INTO t6 (c1) VALUES(0);
|
||||
INSERT INTO t6 (c1) VALUES(255);
|
||||
SELECT * FROM t6;
|
||||
c1
|
||||
NULL
|
||||
0
|
||||
255
|
||||
SELECT COUNT(c1) AS total_rows FROM t6;
|
||||
total_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0;
|
||||
positive_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL;
|
||||
not_null_rows
|
||||
2
|
||||
DROP TABLE t6;
|
||||
CREATE TABLE t6(c1 INTEGER UNSIGNED NULL);
|
||||
INSERT INTO t6 (c1) VALUES(NULL);
|
||||
INSERT INTO t6 (c1) VALUES(0);
|
||||
INSERT INTO t6 (c1) VALUES(255);
|
||||
SELECT * FROM t6;
|
||||
c1
|
||||
NULL
|
||||
0
|
||||
255
|
||||
SELECT COUNT(c1) AS total_rows FROM t6;
|
||||
total_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0;
|
||||
positive_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL;
|
||||
not_null_rows
|
||||
2
|
||||
DROP TABLE t6;
|
||||
CREATE TABLE t6(c1 BIGINT UNSIGNED NULL);
|
||||
INSERT INTO t6 (c1) VALUES(NULL);
|
||||
INSERT INTO t6 (c1) VALUES(0);
|
||||
INSERT INTO t6 (c1) VALUES(255);
|
||||
SELECT * FROM t6;
|
||||
c1
|
||||
NULL
|
||||
0
|
||||
255
|
||||
SELECT COUNT(c1) AS total_rows FROM t6;
|
||||
total_rows
|
||||
2
|
||||
SELECT COUNT(c1) AS positive_rows FROM t6 WHERE c1 > 0;
|
||||
positive_rows
|
||||
1
|
||||
SELECT COUNT(c1) AS null_rows FROM t6 WHERE c1 IS NULL;
|
||||
null_rows
|
||||
0
|
||||
SELECT COUNT(c1) AS not_null_rows FROM t6 WHERE c1 IS NOT NULL;
|
||||
not_null_rows
|
||||
2
|
||||
DROP TABLE t6;
|
|
@ -0,0 +1,127 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DECIMAL NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DEC NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 FIXED NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 NUMERIC NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DOUBLE NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 REAL NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DOUBLE PRECISION NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 FLOAT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,141 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DECIMAL NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DEC NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 FIXED NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 NUMERIC NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DOUBLE NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 REAL NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DOUBLE PRECISION NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 FLOAT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'PRIMARY'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,127 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 TINYINT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT IGNORE INTO t1 (c1) VALUES(10);
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT IGNORE INTO t1 (c1) VALUES(10);
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT IGNORE INTO t1 (c1) VALUES(10);
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT IGNORE INTO t1 (c1) VALUES(10);
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT IGNORE INTO t1 (c1) VALUES(10);
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT IGNORE INTO t1 (c1) VALUES(10);
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DECIMAL NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT IGNORE INTO t1 (c1) VALUES(10);
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DEC NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT IGNORE INTO t1 (c1) VALUES(10);
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 FIXED NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT IGNORE INTO t1 (c1) VALUES(10);
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 NUMERIC NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT IGNORE INTO t1 (c1) VALUES(10);
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DOUBLE NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT IGNORE INTO t1 (c1) VALUES(10);
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 REAL NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT IGNORE INTO t1 (c1) VALUES(10);
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DOUBLE PRECISION NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT IGNORE INTO t1 (c1) VALUES(10);
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 FLOAT NOT NULL PRIMARY KEY);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT IGNORE INTO t1 (c1) VALUES(10);
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,127 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 TINYINT NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DECIMAL NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DEC NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 FIXED NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 NUMERIC NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DOUBLE NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 REAL NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DOUBLE PRECISION NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 FLOAT NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10) ON DUPLICATE KEY UPDATE c1=100;
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
100
|
||||
11
|
||||
DROP TABLE t1;
|
|
@ -0,0 +1,141 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1(c1 TINYINT NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 SMALLINT NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 MEDIUMINT NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INT NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 INTEGER NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BIGINT NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DECIMAL NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DEC NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 FIXED NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 NUMERIC NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DOUBLE NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 REAL NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 DOUBLE PRECISION NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 FLOAT NULL UNIQUE);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
INSERT INTO t1 (c1) VALUES(11);
|
||||
INSERT INTO t1 (c1) VALUES(10);
|
||||
ERROR 23000: Duplicate entry '10' for key 'c1'
|
||||
SELECT * FROM t1;
|
||||
c1
|
||||
10
|
||||
11
|
||||
DROP TABLE t1;
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue