mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext
This commit is contained in:
@ -787,7 +787,7 @@ drop procedure if exists fn3;
|
||||
create function fn3 () returns point deterministic return ST_GeomFromText("point(1 1)");
|
||||
show create function fn3;
|
||||
Function sql_mode Create Function character_set_client collation_connection Database Collation
|
||||
fn3 NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` FUNCTION `fn3`() RETURNS point
|
||||
fn3 STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` FUNCTION `fn3`() RETURNS point
|
||||
DETERMINISTIC
|
||||
return ST_GeomFromText("point(1 1)") latin1 latin1_swedish_ci latin1_swedish_ci
|
||||
select ST_astext(fn3());
|
||||
|
@ -255,8 +255,10 @@ c1 ST_Astext(c2) ST_Astext(c4)
|
||||
INSERT INTO tab SELECT * FROM tab1;
|
||||
ALTER TABLE tab DROP PRIMARY KEY;
|
||||
ALTER TABLE tab DROP INDEX idx2;
|
||||
SET STATEMENT sql_mode = 'NO_ENGINE_SUBSTITUTION' FOR
|
||||
CREATE TEMPORARY TABLE temp_tab AS SELECT * FROM tab where c1 = c2;
|
||||
ERROR HY000: Illegal parameter data types int and geometry for operation '='
|
||||
SET STATEMENT sql_mode = 'NO_ENGINE_SUBSTITUTION' FOR
|
||||
CREATE TEMPORARY TABLE temp_tab AS SELECT * FROM tab;
|
||||
INSERT INTO temp_tab SELECT * FROM tab;
|
||||
CREATE SPATIAL INDEX idx2 ON temp_tab(c2);
|
||||
|
@ -783,7 +783,7 @@ drop procedure if exists fn3;
|
||||
create function fn3 () returns point deterministic return ST_GeomFromText("point(1 1)");
|
||||
show create function fn3;
|
||||
Function sql_mode Create Function character_set_client collation_connection Database Collation
|
||||
fn3 NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` FUNCTION `fn3`() RETURNS point
|
||||
fn3 STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` FUNCTION `fn3`() RETURNS point
|
||||
DETERMINISTIC
|
||||
return ST_GeomFromText("point(1 1)") latin1 latin1_swedish_ci latin1_swedish_ci
|
||||
select ST_astext(fn3());
|
||||
|
Reference in New Issue
Block a user