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
f69f6274
Commit
f69f6274
authored
Aug 15, 2013
by
Andrew McDonnell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable ALTER for oqgraph. Fixes crash.
parent
1c89a75d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
mysql-test/suite/oqgraph/regression_1134355.test
mysql-test/suite/oqgraph/regression_1134355.test
+5
-2
No files found.
mysql-test/suite/oqgraph/regression_1134355.test
View file @
f69f6274
...
...
@@ -38,14 +38,17 @@ SELECT * from graph;
SELECT
*
FROM
graph
WHERE
destid
=
2
and
origid
=
1
;
# We cant do this anyway because of read onlyness of table.... 1036 == read only
--
error
1036
# In any case I changed the flags to make alter unsupported; later we can try and work out why the core doesnt help us clean up properly
# --error 1036
--
error
1031
alter
table
graph
ORIGID
=
'another_id'
;
# But we need that to hold even in an invalid situation!
# -- bug was: the following alter table would crash, instead of returning error 1296
# -- currently following may not crash, but does with the previous error 1036 causing statement present
# 'attribute not set to a valid column of 'xxx' - note currently truncating to graph_b instead of graph_base for some reason...
--
error
1296
#--error 1296
--
error
1031
alter
table
graph
ORIGID
=
'something_else'
;
DELETE
FROM
graph_base
;
...
...
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