OLD | NEW |
1 # 2005 August 18 | 1 # 2005 August 18 |
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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 CREATE TABLE t2(a TEXT, b TEXT DEFAULT(:xyz)); | 121 CREATE TABLE t2(a TEXT, b TEXT DEFAULT(:xyz)); |
122 } {1 {default value of column [b] is not constant}} | 122 } {1 {default value of column [b] is not constant}} |
123 do_catchsql_test default-4.3 { | 123 do_catchsql_test default-4.3 { |
124 CREATE TABLE t2(a TEXT, b TEXT DEFAULT(abs(:xyz))); | 124 CREATE TABLE t2(a TEXT, b TEXT DEFAULT(abs(:xyz))); |
125 } {1 {default value of column [b] is not constant}} | 125 } {1 {default value of column [b] is not constant}} |
126 do_catchsql_test default-4.4 { | 126 do_catchsql_test default-4.4 { |
127 CREATE TABLE t2(a TEXT, b TEXT DEFAULT(98+coalesce(5,:xyz))); | 127 CREATE TABLE t2(a TEXT, b TEXT DEFAULT(98+coalesce(5,:xyz))); |
128 } {1 {default value of column [b] is not constant}} | 128 } {1 {default value of column [b] is not constant}} |
129 | 129 |
130 finish_test | 130 finish_test |
OLD | NEW |