Commit bd95e76b authored by evgen@moonbone.local's avatar evgen@moonbone.local

item.cc, insert_update.result:

  After merge fix.
parent f470ac20
...@@ -315,7 +315,7 @@ INSERT IGNORE INTO t1 (f1) VALUES ("test1"),("test4") ...@@ -315,7 +315,7 @@ INSERT IGNORE INTO t1 (f1) VALUES ("test1"),("test4")
ON DUPLICATE KEY UPDATE id=LAST_INSERT_ID(id); ON DUPLICATE KEY UPDATE id=LAST_INSERT_ID(id);
SELECT LAST_INSERT_ID(); SELECT LAST_INSERT_ID();
LAST_INSERT_ID() LAST_INSERT_ID()
1 2
SELECT * FROM t1; SELECT * FROM t1;
id f1 id f1
1 test1 1 test1
......
...@@ -4370,7 +4370,7 @@ Field *Item::tmp_table_field_from_field_type(TABLE *table, bool fixed_length) ...@@ -4370,7 +4370,7 @@ Field *Item::tmp_table_field_from_field_type(TABLE *table, bool fixed_length)
field= new Field_blob(max_length, maybe_null, name, collation.collation); field= new Field_blob(max_length, maybe_null, name, collation.collation);
break; // Blob handled outside of case break; // Blob handled outside of case
case MYSQL_TYPE_GEOMETRY: case MYSQL_TYPE_GEOMETRY:
return new Field_geom(max_length, maybe_null, name, table, return new Field_geom(max_length, maybe_null, name, table->s,
(Field::geometry_type) (Field::geometry_type)
((Item_geometry_func *)this)->get_geometry_type()); ((Item_geometry_func *)this)->get_geometry_type());
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment