Below is the list of changes that have just been committed into a local
4.1 repository of igor. When igor does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.2293 05/06/13 11:38:16 igor@stripped +2 -0
func_if.result, func_if.test:
Correction for test case of bug #11142.
mysql-test/r/func_if.result
1.15 05/06/13 11:37:55 igor@stripped +0 -14
Correction for test case of bug #11142.
mysql-test/t/func_if.test
1.12 05/06/13 11:37:04 igor@stripped +0 -15
Correction for test case of bug #11142.
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: igor
# Host: igor-inspiron.creware.com
# Root: /home/igor/dev/mysql-4.1-0
--- 1.14/mysql-test/r/func_if.result Mon Jun 13 11:23:55 2005
+++ 1.15/mysql-test/r/func_if.result Mon Jun 13 11:37:55 2005
@@ -86,20 +86,6 @@
SELECT NULLIF(5,5) IS NULL, NULLIF(5,5) IS NOT NULL;
NULLIF(5,5) IS NULL NULLIF(5,5) IS NOT NULL
1 0
-DROP TABLE IF EXISTS t1;
-CREATE TABLE t1 (a CHAR(10));
-INSERT INTO t1 VALUES ('aaa'), (NULL), (''), ('bbb');
-SELECT a, NULLIF(a,'') FROM t1;
-a NULLIF(a,'')
-aaa aaa
-NULL NULL
- NULL
-bbb bbb
-SELECT a, NULLIF(a,'') FROM t1 WHERE NULLIF(a,'') IS NULL;
-a NULLIF(a,'')
-NULL NULL
- NULL
-DROP TABLE t1;
CREATE TABLE t1 (a CHAR(10));
INSERT INTO t1 VALUES ('aaa'), (NULL), (''), ('bbb');
SELECT a, NULLIF(a,'') FROM t1;
--- 1.11/mysql-test/t/func_if.test Mon Jun 13 11:23:22 2005
+++ 1.12/mysql-test/t/func_if.test Mon Jun 13 11:37:04 2005
@@ -60,21 +60,6 @@
# Bug #5595 NULLIF() IS NULL returns false if NULLIF() returns NULL
#
SELECT NULLIF(5,5) IS NULL, NULLIF(5,5) IS NOT NULL;
-#
-# Test to check evaluation of MULLIF when the first argument is NULL
-# (motivated by the Bug 11142)
-#
-
---disable_warnings
-DROP TABLE IF EXISTS t1;
---enable_warnings
-
-CREATE TABLE t1 (a CHAR(10));
-INSERT INTO t1 VALUES ('aaa'), (NULL), (''), ('bbb');
-SELECT a, NULLIF(a,'') FROM t1;
-SELECT a, NULLIF(a,'') FROM t1 WHERE NULLIF(a,'') IS NULL;
-
-DROP TABLE t1;
#
# Test for bug #11142: evaluation of NULLIF when the first argument is NULL
| Thread |
|---|
| • bk commit into 4.1 tree (igor:1.2293) BUG#11142 | igor | 13 Jun |