OLD | NEW |
1 # 2004 November 10 | 1 # 2004 November 10 |
2 # | 2 # |
3 # The author disclaims copyright to this source code. In place of | 3 # The author disclaims copyright to this source code. In place of |
4 # a legal notice, here is a blessing: | 4 # a legal notice, here is a blessing: |
5 # | 5 # |
6 # May you do good and not evil. | 6 # May you do good and not evil. |
7 # May you find forgiveness for yourself and forgive others. | 7 # May you find forgiveness for yourself and forgive others. |
8 # May you share freely, never taking more than you give. | 8 # May you share freely, never taking more than you give. |
9 # | 9 # |
10 #************************************************************************* | 10 #************************************************************************* |
(...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
905 SELECT sqlite_rename_parent('CREATE TABLE t1(a REFERENCES "xyzzy")', | 905 SELECT sqlite_rename_parent('CREATE TABLE t1(a REFERENCES "xyzzy")', |
906 'xyzzy',NULL); | 906 'xyzzy',NULL); |
907 } {{CREATE TABLE t1(a REFERENCES "(NULL)")}} | 907 } {{CREATE TABLE t1(a REFERENCES "(NULL)")}} |
908 do_execsql_test alter-17.9 { | 908 do_execsql_test alter-17.9 { |
909 SELECT sqlite_rename_parent('CREATE TABLE t1(a REFERENCES "xyzzy")', | 909 SELECT sqlite_rename_parent('CREATE TABLE t1(a REFERENCES "xyzzy")', |
910 NULL, 'lmnop'); | 910 NULL, 'lmnop'); |
911 } {{}} | 911 } {{}} |
912 do_execsql_test alter-17.10 { | 912 do_execsql_test alter-17.10 { |
913 SELECT sqlite_rename_parent(NULL,'abc','xyz'); | 913 SELECT sqlite_rename_parent(NULL,'abc','xyz'); |
914 } {{}} | 914 } {{}} |
| 915 do_execsql_test alter-17.11 { |
| 916 SELECT sqlite_rename_parent('create references ''','abc','xyz'); |
| 917 } {{create references '}} |
| 918 do_execsql_test alter-17.12 { |
| 919 SELECT sqlite_rename_parent('create references "abc"123" ','abc','xyz'); |
| 920 } {{create references "xyz"123" }} |
| 921 do_execsql_test alter-17.13 { |
| 922 SELECT sqlite_rename_parent("references '''",'abc','xyz'); |
| 923 } {{references '''}} |
915 | 924 |
916 finish_test | 925 finish_test |
OLD | NEW |