Commit f53e3984 authored by Rich Prohaska's avatar Rich Prohaska

refs #5333 add more column expansion tests

git-svn-id: file:///svn/mysql/tests/mysql-test@47639 c7de825b-a66e-492c-adef-691d508d4ae1
parent 1ea43540
...@@ -16,7 +16,8 @@ def gen_test(n): ...@@ -16,7 +16,8 @@ def gen_test(n):
print "INSERT INTO tt SELECT * FROM t;" print "INSERT INTO tt SELECT * FROM t;"
print "ALTER TABLE t CHANGE COLUMN a b CHAR(%d);" % (i) print "ALTER TABLE t CHANGE COLUMN a b CHAR(%d);" % (i)
if i >= n: if i >= n:
print "SELECT * FROM t,tt where t.b = tt.a;" print "ALTER TABLE t CHANGE COLUMN b a CHAR(%d);" % (i)
print "SELECT * FROM t,tt where t.a = tt.a;"
print "DROP TABLE tt;" print "DROP TABLE tt;"
print "DROP TABLE t;" print "DROP TABLE t;"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment