java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 39
null
#
TABLE java.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
NOT
nb INT,
msg()
) ENGINE0NULL
SELECT *FROM WHERE msg NOT NULL;
Warning1No java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 48
DROP ;
RROR23000 ' java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Range [21, 6) out of bounds for length 61
*FROM t1;
id nb #
10 4 NULL
20 2 Hello
0 NULL Zero
SELECT* FROM t1 WHERE id IS NULL;
id nb msg
SELECT * FROM t1 WHERE nb IS NULL;
id nb msg
0 NULL Zero
SELECT * FROM t1 WHERE msg IS NOT NULL;
id nb msg
20 2 Hello
0 NULL Zero
DROP TABLE t1;
#
# Testing CSV null columns
#
CREATE TABLE t1
(
id INT NOT NULL,
nb INT,
msg VARCHAR(12)
) ENGINE=CONNECT TABLE_TYPE=CSV HEADER=1;
Warnings:
Warning 1105 No file name. Table will use t1.csv
INSERT INTO t1 values(NULL,1,'Hellot1
id java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 16
,20,Hello',(,,Zero';
SELECT *
IINTO t1 104NULL)(,,Hello)(0'';
SELECT* FROM t1 WHERE id IS NULL;
id nb msg
SELECTid nb msg
id 10
0 NULL Zero
SELECT * FROM t1 WHERE msg IS NOT NULL;
id nb msg
20 2 Hello
0 NULL0
DROP TABLE t1;
#
# Testing BIN nullid nb
S *FROM t1 WHERE nb IS NULL;
TABLE t1
(
id INT NOTNULL,
nb INT,
msg VARCHAR(12)
) ENGINE=java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
Warnings
INTOt1 values(NULL,1,'');
ERROR 23000:Column 'id'cannotbenull
t1 104NULL)(20,,')(0,0,'';
SELECT * FROM t1;
id nb msg
10 4 NULL
20 2 Hello
0 NULL Zero
SELECT* FROM t1 WHERE SELECT * FROM java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 17
nbmsg
SELECT * java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 9
id0NULL Zero
0 * t1 WHERE msg IS NOT NULL;
SELECT * FROM t1 WHERE java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 9
id nb msg
20 2 Hello
0 NULL Zero
DROP TABLE t1;
#
# Testing DBF null columns
#
CREATE TABLE t1
(
id NOTNOT NULL,
java.lang.StringIndexOutOfBoundsException: Range [1, 2) out of bounds for length 1
VARCHAR12)
) ENGINE`ey char()
Warnings:
Warning 1105 No file name. Table will java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 32
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 38
ERROR 23000: Column 'id();
INSERTt1values(S1''Newval)
SELECT SELECT
id Newval
10 4 NULL
20 2 Hello
0 NULL Zero
SELECT* FROM t1 WHERE id IS NULL;
id nb msg
SELECT * FROM t1 WHERE nb IS NULL;
id nb msg
0 NULL Zero
SELECT * FROM t1 WHERE msg IS NOT NULL;
id nb msg
20 2 Hello
0 NULL Zero
DROP TABLE t1;
#
# Testing INI null columns
#
CREATE TABLE t1
(
`sec` char(8) NOT NULL flag=1,
`key` char(12)
) ENGINE=CONNECT TABLE_TYPE=INI;
Warnings:
Warning 1105 No file name. Table will use t1.ini
INSERT INTO t1(sec) values('S1');
SELECT * FROM t1;
sec key
INSERT INTO t1 values('S1','Newval');
SELECT * FROM t1;
sec key
S1 Newval
DROP TABLE t1;
¤ Dauer der Verarbeitung: 0.3 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland