Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
8190cfca
Commit
8190cfca
authored
Jan 24, 2007
by
holyfoot/hf@mysql.com/hfmain.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug #22682 Test fails --without-geometry
geometry dependent parts moved to proper .test files
parent
ac25a49f
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
30 additions
and
28 deletions
+30
-28
.bzrignore
.bzrignore
+1
-0
mysql-test/r/gis.result
mysql-test/r/gis.result
+11
-0
mysql-test/r/innodb.result
mysql-test/r/innodb.result
+0
-2
mysql-test/r/innodb_gis.result
mysql-test/r/innodb_gis.result
+2
-0
mysql-test/r/view.result
mysql-test/r/view.result
+0
-11
mysql-test/t/gis.test
mysql-test/t/gis.test
+10
-0
mysql-test/t/innodb.test
mysql-test/t/innodb.test
+0
-6
mysql-test/t/innodb_gis.test
mysql-test/t/innodb_gis.test
+6
-0
mysql-test/t/view.test
mysql-test/t/view.test
+0
-9
No files found.
.bzrignore
View file @
8190cfca
...
@@ -2933,3 +2933,4 @@ win/vs71cache.txt
...
@@ -2933,3 +2933,4 @@ win/vs71cache.txt
win/vs8cache.txt
win/vs8cache.txt
zlib/*.ds?
zlib/*.ds?
zlib/*.vcproj
zlib/*.vcproj
libmysqld/sql_servers.cc
mysql-test/r/gis.result
View file @
8190cfca
...
@@ -718,3 +718,14 @@ desc t1;
...
@@ -718,3 +718,14 @@ desc t1;
Field Type Null Key Default Extra
Field Type Null Key Default Extra
GeomFromText('point(1 1)') geometry NO
GeomFromText('point(1 1)') geometry NO
drop table t1;
drop table t1;
create table t1 (f1 tinyint(1), f2 char(1), f3 varchar(1), f4 geometry, f5 datetime);
create view v1 as select * from t1;
desc v1;
Field Type Null Key Default Extra
f1 tinyint(1) YES NULL
f2 char(1) YES NULL
f3 varchar(1) YES NULL
f4 geometry YES NULL
f5 datetime YES NULL
drop view v1;
drop table t1;
mysql-test/r/innodb.result
View file @
8190cfca
...
@@ -3447,8 +3447,6 @@ SELECT p0.a FROM t2 p0 WHERE BINARY p0.b = 'customer_over';
...
@@ -3447,8 +3447,6 @@ SELECT p0.a FROM t2 p0 WHERE BINARY p0.b = 'customer_over';
a
a
1
1
drop table t2, t1;
drop table t2, t1;
create table t1 (g geometry not null, spatial gk(g)) engine=innodb;
ERROR HY000: The used table type doesn't support SPATIAL indexes
CREATE TABLE t1 ( a int ) ENGINE=innodb;
CREATE TABLE t1 ( a int ) ENGINE=innodb;
BEGIN;
BEGIN;
INSERT INTO t1 VALUES (1);
INSERT INTO t1 VALUES (1);
...
...
mysql-test/r/innodb_gis.result
View file @
8190cfca
...
@@ -460,3 +460,5 @@ ERROR 22003: Cannot get geometry object from data you send to the GEOMETRY field
...
@@ -460,3 +460,5 @@ ERROR 22003: Cannot get geometry object from data you send to the GEOMETRY field
insert into t1 (fl) values (pointfromtext('point(1,1)'));
insert into t1 (fl) values (pointfromtext('point(1,1)'));
ERROR 22003: Cannot get geometry object from data you send to the GEOMETRY field
ERROR 22003: Cannot get geometry object from data you send to the GEOMETRY field
drop table t1;
drop table t1;
create table t1 (g geometry not null, spatial gk(g)) engine=innodb;
ERROR HY000: The used table type doesn't support SPATIAL indexes
mysql-test/r/view.result
View file @
8190cfca
...
@@ -2060,17 +2060,6 @@ CALL p1();
...
@@ -2060,17 +2060,6 @@ CALL p1();
DROP PROCEDURE p1;
DROP PROCEDURE p1;
DROP VIEW v1;
DROP VIEW v1;
DROP TABLE t1;
DROP TABLE t1;
create table t1 (f1 tinyint(1), f2 char(1), f3 varchar(1), f4 geometry, f5 datetime);
create view v1 as select * from t1;
desc v1;
Field Type Null Key Default Extra
f1 tinyint(1) YES NULL
f2 char(1) YES NULL
f3 varchar(1) YES NULL
f4 geometry YES NULL
f5 datetime YES NULL
drop view v1;
drop table t1;
create table t1(f1 datetime);
create table t1(f1 datetime);
insert into t1 values('2005.01.01 12:0:0');
insert into t1 values('2005.01.01 12:0:0');
create view v1 as select f1, subtime(f1, '1:1:1') as sb from t1;
create view v1 as select f1, subtime(f1, '1:1:1') as sb from t1;
...
...
mysql-test/t/gis.test
View file @
8190cfca
...
@@ -428,3 +428,13 @@ drop table t1;
...
@@ -428,3 +428,13 @@ drop table t1;
create
table
t1
select
GeomFromText
(
'point(1 1)'
);
create
table
t1
select
GeomFromText
(
'point(1 1)'
);
desc
t1
;
desc
t1
;
drop
table
t1
;
drop
table
t1
;
#
# Bug #11335 View redefines column types
#
create
table
t1
(
f1
tinyint
(
1
),
f2
char
(
1
),
f3
varchar
(
1
),
f4
geometry
,
f5
datetime
);
create
view
v1
as
select
*
from
t1
;
desc
v1
;
drop
view
v1
;
drop
table
t1
;
mysql-test/t/innodb.test
View file @
8190cfca
...
@@ -2488,12 +2488,6 @@ SELECT p0.a FROM t2 p0 WHERE BINARY p0.b = 'customer_over';
...
@@ -2488,12 +2488,6 @@ SELECT p0.a FROM t2 p0 WHERE BINARY p0.b = 'customer_over';
drop
table
t2
,
t1
;
drop
table
t2
,
t1
;
#
# Bug #15680 (SPATIAL key in innodb)
#
--
error
ER_TABLE_CANT_HANDLE_SPKEYS
create
table
t1
(
g
geometry
not
null
,
spatial
gk
(
g
))
engine
=
innodb
;
#
#
# Test optimize on table with open transaction
# Test optimize on table with open transaction
#
#
...
...
mysql-test/t/innodb_gis.test
View file @
8190cfca
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_innodb
.
inc
SET
storage_engine
=
innodb
;
SET
storage_engine
=
innodb
;
--
source
include
/
gis_generic
.
inc
--
source
include
/
gis_generic
.
inc
#
# Bug #15680 (SPATIAL key in innodb)
#
--
error
ER_TABLE_CANT_HANDLE_SPKEYS
create
table
t1
(
g
geometry
not
null
,
spatial
gk
(
g
))
engine
=
innodb
;
mysql-test/t/view.test
View file @
8190cfca
...
@@ -1878,15 +1878,6 @@ DROP PROCEDURE p1;
...
@@ -1878,15 +1878,6 @@ DROP PROCEDURE p1;
DROP
VIEW
v1
;
DROP
VIEW
v1
;
DROP
TABLE
t1
;
DROP
TABLE
t1
;
#
# Bug #11335 View redefines column types
#
create
table
t1
(
f1
tinyint
(
1
),
f2
char
(
1
),
f3
varchar
(
1
),
f4
geometry
,
f5
datetime
);
create
view
v1
as
select
*
from
t1
;
desc
v1
;
drop
view
v1
;
drop
table
t1
;
#
#
# Bug #11760 Typo in Item_func_add_time::print() results in NULLs returned
# Bug #11760 Typo in Item_func_add_time::print() results in NULLs returned
# subtime() in view
# subtime() in view
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment