-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDEV-7222: Cluster Node Crash at CREATE DEFINER statement
Check whether the definer host string is not null before appending it to the specified buffer.
- Loading branch information
Nirbhay Choubey
committed
Jan 2, 2015
1 parent
25aaa65
commit 455f77b
Showing
3 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# | ||
# MDEV-7222: Cluster Node Crash at CREATE DEFINER statement | ||
# | ||
USE test; | ||
CREATE DEFINER=CURRENT_USER VIEW v1 AS SELECT 1; | ||
DROP VIEW v1; | ||
# End of tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--source include/galera_cluster.inc | ||
--source include/have_innodb.inc | ||
|
||
--echo # | ||
--echo # MDEV-7222: Cluster Node Crash at CREATE DEFINER statement | ||
--echo # | ||
USE test; | ||
CREATE DEFINER=CURRENT_USER VIEW v1 AS SELECT 1; | ||
DROP VIEW v1; | ||
|
||
--echo # End of tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters