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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
76c06ceb
Commit
76c06ceb
authored
Aug 05, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/M50/clone-5.0 into mysql.com:/M50/mysql-5.0
parents
5615eae1
e13fa8eb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
0 deletions
+16
-0
mysql-test/r/gis.result
mysql-test/r/gis.result
+5
-0
mysql-test/t/gis.test
mysql-test/t/gis.test
+10
-0
sql/field.h
sql/field.h
+1
-0
No files found.
mysql-test/r/gis.result
View file @
76c06ceb
...
@@ -665,3 +665,8 @@ ERROR 22003: Cannot get geometry object from data you send to the GEOMETRY field
...
@@ -665,3 +665,8 @@ ERROR 22003: Cannot get geometry object from data you send to the GEOMETRY field
insert into t1 values (pointfromtext('point(1,1)'));
insert into t1 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 (s1 geometry not null,s2 char(100));
create trigger t1_bu before update on t1 for each row set new.s1 = null;
insert into t1 values (null,null);
ERROR 23000: Column 's1' cannot be null
drop table t1;
mysql-test/t/gis.test
View file @
76c06ceb
...
@@ -373,3 +373,13 @@ insert into t1 values (pointfromtext('point(1,1)'));
...
@@ -373,3 +373,13 @@ insert into t1 values (pointfromtext('point(1,1)'));
drop
table
t1
;
drop
table
t1
;
# End of 4.1 tests
# End of 4.1 tests
#
# Bug #12281 (Geometry: crash in trigger)
#
create
table
t1
(
s1
geometry
not
null
,
s2
char
(
100
));
create
trigger
t1_bu
before
update
on
t1
for
each
row
set
new
.
s1
=
null
;
--
error
1048
insert
into
t1
values
(
null
,
null
);
drop
table
t1
;
sql/field.h
View file @
76c06ceb
...
@@ -1204,6 +1204,7 @@ public:
...
@@ -1204,6 +1204,7 @@ public:
int
store
(
longlong
nr
);
int
store
(
longlong
nr
);
int
store_decimal
(
const
my_decimal
*
);
int
store_decimal
(
const
my_decimal
*
);
void
get_key_image
(
char
*
buff
,
uint
length
,
imagetype
type
);
void
get_key_image
(
char
*
buff
,
uint
length
,
imagetype
type
);
uint
size_of
()
const
{
return
sizeof
(
*
this
);
}
};
};
#endif
/*HAVE_SPATIAL*/
#endif
/*HAVE_SPATIAL*/
...
...
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