~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/transaction_log/tests/t/blob.inc

  • Committer: lbieber
  • Date: 2010-09-20 18:35:09 UTC
  • mfrom: (1779.1.4 build)
  • Revision ID: lbieber@orisndriz08-20100920183509-zjw31nf3f8clzu8k
Merge Joe - fix bug 641685 statement_transform.cc was not handling NULL values when dealing with NULL values.
Merge Shrews - fix bug 641687 - Quote ENUM values when building SQL from GPB Transaction messages.
Merge Monty - fix bug 549882 - Throw an error in configure from a bad --prefix value
Merge Monty - fix bug 565050 - Don't fail if root user runs drizzled --help

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#
5
5
 
6
6
--disable_warnings
7
 
DROP TABLE IF EXISTS t1;
 
7
DROP TABLE IF EXISTS t1, t2;
8
8
--enable_warnings
9
9
 
10
10
CREATE TABLE t1 (
20
20
 
21
21
DELETE FROM t1 WHERE padding = 'test\0you';
22
22
 
23
 
DROP TABLE t1;
 
23
CREATE TABLE t2 (
 
24
  id INT NOT NULL
 
25
, padding BLOB
 
26
, PRIMARY KEY (id)
 
27
);
 
28
 
 
29
INSERT INTO t2 VALUES (1, NULL);
 
30
INSERT INTO t2 VALUES (2, 'test\0you');
 
31
UPDATE t2 SET padding = NULL WHERE padding = 'test\0you'; 
 
32
DELETE FROM t2 WHERE padding IS NULL;
 
33
 
 
34
DROP TABLE t1, t2;