[Groonga-mysql-commit] mroonga/mroonga at 1900ca6 [master] mysql57 test: fix expected

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Apr 20 23:26:59 JST 2016


Kouhei Sutou	2016-04-20 23:26:59 +0900 (Wed, 20 Apr 2016)

  New Revision: 1900ca659a43afc86523d24fa77fd188316ca724
  https://github.com/mroonga/mroonga/commit/1900ca659a43afc86523d24fa77fd188316ca724

  Message:
    mysql57 test: fix expected

  Modified files:
    mysql-test/mroonga/storage/geometry/mysql_57_or_later/t/bulk_insert_null.test
  Renamed files:
    mysql-test/mroonga/storage/geometry/mysql_57_or_later/r/bulk_insert_null.result
      (from mysql-test/mroonga/storage/geometry/mysql_57_or_later/bulk_insert_null.result)

  Renamed: mysql-test/mroonga/storage/geometry/mysql_57_or_later/r/bulk_insert_null.result (+1 -6) 58%
===================================================================
--- mysql-test/mroonga/storage/geometry/mysql_57_or_later/bulk_insert_null.result    2016-04-20 23:20:44 +0900 (271cf92)
+++ mysql-test/mroonga/storage/geometry/mysql_57_or_later/r/bulk_insert_null.result    2016-04-20 23:26:59 +0900 (7357335)
@@ -2,13 +2,8 @@ DROP TABLE IF EXISTS shops;
 CREATE TABLE shops (
 location GEOMETRY NOT NULL
 );
-SET SESSION sql_mode = '';
 INSERT INTO shops VALUES (NULL), (NULL);
-Warnings:
-Warning	1048	Column 'location' cannot be null
-SET SESSION sql_mode = default;
+ERROR 23000: Column 'location' cannot be null
 SELECT ST_AsText(location) FROM shops;
 ST_AsText(location)
-POINT(0 0)
-POINT(0 0)
 DROP TABLE shops;

  Modified: mysql-test/mroonga/storage/geometry/mysql_57_or_later/t/bulk_insert_null.test (+1 -2)
===================================================================
--- mysql-test/mroonga/storage/geometry/mysql_57_or_later/t/bulk_insert_null.test    2016-04-20 23:20:44 +0900 (34cbbf4)
+++ mysql-test/mroonga/storage/geometry/mysql_57_or_later/t/bulk_insert_null.test    2016-04-20 23:26:59 +0900 (6f9097a)
@@ -27,9 +27,8 @@ CREATE TABLE shops (
   location GEOMETRY NOT NULL
 );
 
-SET SESSION sql_mode = '';
+--error ER_BAD_NULL_ERROR
 INSERT INTO shops VALUES (NULL), (NULL);
-SET SESSION sql_mode = default;
 
 SELECT ST_AsText(location) FROM shops;
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index