Changeset 7978
- Timestamp:
- Jul 25, 2006, 3:40:58 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/db/verified/tst_psDB.stderr (modified) (15 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/db/verified/tst_psDB.stderr
r7301 r7978 11 11 <DATE><TIME>|<HOST>|I|TPDBInit 12 12 Following should generate error message for NULL database objec 13 <DATE><TIME>|<HOST>|E|psDBCleanup (FILE:LINENO)14 Invalid psDB has been specified.15 13 16 14 ---> TESTPOINT PASSED (psDB{dbInit} | tst_psDB.c) … … 29 27 Following should generate error message for null database object 30 28 <DATE><TIME>|<HOST>|E|psDBChange (FILE:LINENO) 31 Invalid psDB has been specified.29 Unallowable operation: dbh is NULL. 32 30 33 31 ---> TESTPOINT PASSED (psDB{dbChange} | tst_psDB.c) … … 39 37 \**********************************************************************************/ 40 38 41 <DATE><TIME>|<HOST>|I|TPDBCreateTable42 Following should generate an error message for NULL parameter43 <DATE><TIME>|<HOST>|E|psDBGenerateCreateTableSQL (FILE:LINENO)44 Create table parameters may not be NULL.45 <DATE><TIME>|<HOST>|E|psDBCreateTable (FILE:LINENO)46 Query generation failed.47 39 <DATE><TIME>|<HOST>|I|TPDBCreateTable 48 40 Following should generate an error message for NULL parameter 49 41 <DATE><TIME>|<HOST>|E|psDBCreateTable (FILE:LINENO) 50 Invalid psDB has been specified. 42 Unallowable operation: md is NULL. 43 <DATE><TIME>|<HOST>|I|TPDBCreateTable 44 Following should generate an error message for NULL parameter 45 <DATE><TIME>|<HOST>|E|psDBCreateTable (FILE:LINENO) 46 Unallowable operation: dbh is NULL. 51 47 52 48 ---> TESTPOINT PASSED (psDB{dbCreateTable} | tst_psDB.c) … … 60 56 <DATE><TIME>|<HOST>|I|TPDBDropTable 61 57 psDBDropTable: insert should fail here... 62 <DATE><TIME>|<HOST>|E|p sDBInsertRows(FILE:LINENO)58 <DATE><TIME>|<HOST>|E|p_psDBRunQueryPrepared (FILE:LINENO) 63 59 Failed to prepare query. Error: Table 'test.table2' doesn't exist 60 <DATE><TIME>|<HOST>|E|psDBInsertRows (FILE:LINENO) 61 insert failed 64 62 <DATE><TIME>|<HOST>|E|psDBInsertOneRow (FILE:LINENO) 65 63 Failed to insert row. 66 64 <DATE><TIME>|<HOST>|I|TPDBDropTable 67 65 Following should generate an error message for NULL database object 68 <DATE><TIME>|<HOST>|E|p_psDBRunQuery (FILE:LINENO)69 Invalid psDB has been specified.70 66 <DATE><TIME>|<HOST>|E|psDBDropTable (FILE:LINENO) 71 Failed to drop table.67 Unallowable operation: dbh is NULL. 72 68 <DATE><TIME>|<HOST>|I|TPDBDropTable 73 69 Following should generate an error message for invalid table … … 78 74 <DATE><TIME>|<HOST>|I|TPDBDropTable 79 75 Following should generate an error message for NULL table 80 <DATE><TIME>|<HOST>|E|p_psDBRunQuery (FILE:LINENO)81 Failed to execute SQL query. Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(null)' at line 182 76 <DATE><TIME>|<HOST>|E|psDBDropTable (FILE:LINENO) 83 Failed to drop table.77 Unallowable operation: tableName is NULL. 84 78 85 79 ---> TESTPOINT PASSED (psDB{dbDropTable} | tst_psDB.c) … … 93 87 <DATE><TIME>|<HOST>|I|TPDBSelectColumn 94 88 Following should generate error message for NULL database 95 <DATE><TIME>|<HOST>|E|p_psDBRunQuery (FILE:LINENO) 96 Invalid psDB has been specified. 97 <DATE><TIME>|<HOST>|E|psDBSelectColumn (FILE:LINENO) 98 Failed to select column. 89 <DATE><TIME>|<HOST>|E|psDBSelectColumn (FILE:LINENO) 90 Unallowable operation: dbh is NULL. 99 91 <DATE><TIME>|<HOST>|I|TPDBSelectColumn 100 92 Following should generate error message for NULL table 101 <DATE><TIME>|<HOST>|E|p_psDBRunQuery (FILE:LINENO) 102 Failed to execute SQL query. Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null) LIMIT 10' at line 1 103 <DATE><TIME>|<HOST>|E|psDBSelectColumn (FILE:LINENO) 104 Failed to select column. 93 <DATE><TIME>|<HOST>|E|psDBSelectColumn (FILE:LINENO) 94 Unallowable operation: tableName is NULL. 105 95 <DATE><TIME>|<HOST>|I|TPDBSelectColumn 106 96 Following should generate error message for invalid table … … 126 116 <DATE><TIME>|<HOST>|I|TPDBSelectColumnNum 127 117 Following should generate an error for NULL database object 128 <DATE><TIME>|<HOST>|E|p_psDBRunQuery (FILE:LINENO) 129 Invalid psDB has been specified. 130 <DATE><TIME>|<HOST>|E|psDBSelectColumn (FILE:LINENO) 131 Failed to select column. 118 <DATE><TIME>|<HOST>|E|psDBSelectColumnNum (FILE:LINENO) 119 Unallowable operation: dbh is NULL. 132 120 <DATE><TIME>|<HOST>|I|TPDBSelectColumnNum 133 121 Following should generate an error for NULL table 134 <DATE><TIME>|<HOST>|E|p_psDBRunQuery (FILE:LINENO) 135 Failed to execute SQL query. Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null) LIMIT 10' at line 1 136 <DATE><TIME>|<HOST>|E|psDBSelectColumn (FILE:LINENO) 137 Failed to select column. 122 <DATE><TIME>|<HOST>|E|psDBSelectColumnNum (FILE:LINENO) 123 Unallowable operation: tableName is NULL. 138 124 <DATE><TIME>|<HOST>|I|TPDBSelectColumnNum 139 125 Following should generate an error for invalid column … … 163 149 <DATE><TIME>|<HOST>|I|TPDBSelectRows 164 150 Following should generate an error message for NULL database object 165 <DATE><TIME>|<HOST>|E|p_psDBRunQuery (FILE:LINENO)166 Invalid psDB has been specified.167 151 <DATE><TIME>|<HOST>|E|psDBSelectRows (FILE:LINENO) 168 Query execution failed.152 Unallowable operation: dbh is NULL. 169 153 <DATE><TIME>|<HOST>|I|TPDBSelectRows 170 154 Following should generate an error message for invalid table 171 <DATE><TIME>|<HOST>|E|p_psDBRunQuery (FILE:LINENO)172 Failed to execute SQL query. Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null) WHERE' at line 1173 155 <DATE><TIME>|<HOST>|E|psDBSelectRows (FILE:LINENO) 174 Query execution failed.156 Unallowable operation: tableName is NULL. 175 157 176 158 ---> TESTPOINT PASSED (psDB{dbSelectRows} | tst_psDB.c) … … 184 166 <DATE><TIME>|<HOST>|I|TPDBInsertOneRow 185 167 Following should generate error message for NULL database 186 <DATE><TIME>|<HOST>|E|psDBInsertRows (FILE:LINENO) 187 Invalid psDB has been specified. 188 <DATE><TIME>|<HOST>|E|psDBInsertOneRow (FILE:LINENO) 189 Failed to insert row. 168 <DATE><TIME>|<HOST>|E|psDBInsertOneRow (FILE:LINENO) 169 Unallowable operation: dbh is NULL. 190 170 <DATE><TIME>|<HOST>|I|TPDBInsertOneRow 191 171 Following should generate error message for invalid column item 192 <DATE><TIME>|<HOST>|E|p sDBInsertRows(FILE:LINENO)172 <DATE><TIME>|<HOST>|E|p_psDBRunQueryPrepared (FILE:LINENO) 193 173 Failed to prepare query. Error: Unknown column 'key_999' in 'field list' 174 <DATE><TIME>|<HOST>|E|psDBInsertRows (FILE:LINENO) 175 insert failed 194 176 <DATE><TIME>|<HOST>|E|psDBInsertOneRow (FILE:LINENO) 195 177 Failed to insert row. 196 178 <DATE><TIME>|<HOST>|I|TPDBInsertOneRow 197 179 Following should generate error message for invalid table 198 <DATE><TIME>|<HOST>|E|p sDBInsertRows(FILE:LINENO)180 <DATE><TIME>|<HOST>|E|p_psDBRunQueryPrepared (FILE:LINENO) 199 181 Failed to prepare query. Error: Table 'test.table999' doesn't exist 182 <DATE><TIME>|<HOST>|E|psDBInsertRows (FILE:LINENO) 183 insert failed 200 184 <DATE><TIME>|<HOST>|E|psDBInsertOneRow (FILE:LINENO) 201 185 Failed to insert row. … … 203 187 Following should generate error message for NULL row 204 188 <DATE><TIME>|<HOST>|E|psDBInsertOneRow (FILE:LINENO) 205 Failed to insert row.189 Unallowable operation: row is NULL. 206 190 207 191 ---> TESTPOINT PASSED (psDB{dbInsertOneRow} | tst_psDB.c) … … 216 200 Following should generate an error message for NULL database 217 201 <DATE><TIME>|<HOST>|E|psDBInsertRows (FILE:LINENO) 218 Invalid psDB has been specified.202 Unallowable operation: dbh is NULL. 219 203 <DATE><TIME>|<HOST>|I|TPDBInsertRows 220 204 Following should generate an error message for NULL table 221 <DATE><TIME>|<HOST>|E|psDBGenerateInsertRowSQL (FILE:LINENO) 222 Query generation failed. 223 <DATE><TIME>|<HOST>|E|psDBInsertRows (FILE:LINENO) 224 Query generation failed. 205 <DATE><TIME>|<HOST>|E|psDBInsertRows (FILE:LINENO) 206 Unallowable operation: tableName is NULL. 225 207 <DATE><TIME>|<HOST>|I|TPDBInsertRows 226 208 Following should generate an error message for invalid table 227 <DATE><TIME>|<HOST>|E|p sDBInsertRows(FILE:LINENO)209 <DATE><TIME>|<HOST>|E|p_psDBRunQueryPrepared (FILE:LINENO) 228 210 Failed to prepare query. Error: Table 'test.table999' doesn't exist 211 <DATE><TIME>|<HOST>|E|psDBInsertRows (FILE:LINENO) 212 insert failed 229 213 <DATE><TIME>|<HOST>|I|TPDBInsertRows 230 214 Following should generate an error message for NULL row array 231 215 <DATE><TIME>|<HOST>|E|psDBInsertRows (FILE:LINENO) 232 Failed to insert row.216 Unallowable operation: rowSet is NULL. 233 217 <DATE><TIME>|<HOST>|I|TPDBInsertRows 234 218 Following should generate error message for invalid column item 235 <DATE><TIME>|<HOST>|E|p sDBInsertRows(FILE:LINENO)219 <DATE><TIME>|<HOST>|E|p_psDBRunQueryPrepared (FILE:LINENO) 236 220 Failed to prepare query. Error: Unknown column 'key_999' in 'field list' 221 <DATE><TIME>|<HOST>|E|psDBInsertRows (FILE:LINENO) 222 insert failed 237 223 238 224 ---> TESTPOINT PASSED (psDB{dbInsertRows} | tst_psDB.c) … … 246 232 <DATE><TIME>|<HOST>|I|TPDBDumpRows 247 233 Following should generate error message for NULL database 248 <DATE><TIME>|<HOST>|E|p_psDBRunQuery (FILE:LINENO) 249 Invalid psDB has been specified. 250 <DATE><TIME>|<HOST>|E|psDBSelectRows (FILE:LINENO) 251 Query execution failed. 234 <DATE><TIME>|<HOST>|E|psDBDumpRows (FILE:LINENO) 235 Unallowable operation: dbh is NULL. 252 236 <DATE><TIME>|<HOST>|I|TPDBDumpRows 253 237 Following should generate error message for NULL table 254 <DATE><TIME>|<HOST>|E|p_psDBRunQuery (FILE:LINENO) 255 Failed to execute SQL query. Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null)' at line 1 256 <DATE><TIME>|<HOST>|E|psDBSelectRows (FILE:LINENO) 257 Query execution failed. 238 <DATE><TIME>|<HOST>|E|psDBDumpRows (FILE:LINENO) 239 Unallowable operation: tableName is NULL. 258 240 259 241 ---> TESTPOINT PASSED (psDB{dbDumpRows} | tst_psDB.c) … … 268 250 Following should generate an error message for NULL database 269 251 <DATE><TIME>|<HOST>|E|psDBDumpCols (FILE:LINENO) 270 Invalid psDB has been specified.252 Unallowable operation: dbh is NULL. 271 253 <DATE><TIME>|<HOST>|I|TPDBDumpCols 272 254 Following should generate an error message for NULL table 273 255 <DATE><TIME>|<HOST>|E|psDBDumpCols (FILE:LINENO) 274 NULL table specified.256 Unallowable operation: tableName is NULL. 275 257 276 258 ---> TESTPOINT PASSED (psDB{dbDumpCols} | tst_psDB.c) … … 285 267 Following should generate an error message for NULL database 286 268 <DATE><TIME>|<HOST>|E|psDBUpdateRows (FILE:LINENO) 287 Invalid psDB has been specified.269 Unallowable operation: dbh is NULL. 288 270 <DATE><TIME>|<HOST>|I|TPDBUpdateRows 289 271 Following should generate an error message for invalid table 272 <DATE><TIME>|<HOST>|E|p_psDBRunQueryPrepared (FILE:LINENO) 273 Failed to prepare query. Error: Table 'test.table999' doesn't exist 290 274 <DATE><TIME>|<HOST>|E|psDBUpdateRows (FILE:LINENO) 291 Failed to prepare query. Error: Table 'test.table999' doesn't exist275 update failed 292 276 <DATE><TIME>|<HOST>|I|TPDBUpdateRows 293 277 Following should generate an error message for NULL updates 294 <DATE><TIME>|<HOST>|E|psDBGenerateUpdateRowSQL (FILE:LINENO)295 Update row SQL generate fail: values and where params may not be NULL.296 278 <DATE><TIME>|<HOST>|E|psDBUpdateRows (FILE:LINENO) 297 Query generation failed.279 Unallowable operation: values is NULL. 298 280 <DATE><TIME>|<HOST>|I|TPDBUpdateRows 299 281 Following should generate an error message for invalid where 282 <DATE><TIME>|<HOST>|E|p_psDBRunQueryPrepared (FILE:LINENO) 283 Failed to prepare query. Error: Unknown column 'col999' in 'where clause' 300 284 <DATE><TIME>|<HOST>|E|psDBUpdateRows (FILE:LINENO) 301 Failed to prepare query. Error: Unknown column 'col999' in 'where clause'285 update failed 302 286 303 287 ---> TESTPOINT PASSED (psDB{dbUpdateRows} | tst_psDB.c) … … 312 296 Following should generate error message for NULL database 313 297 <DATE><TIME>|<HOST>|E|psDBDeleteRows (FILE:LINENO) 314 Invalid psDB has been specified.298 Unallowable operation: dbh is NULL. 315 299 <DATE><TIME>|<HOST>|I|TPDBDeleteRows 316 300 Following should generate error message for invalid table
Note:
See TracChangeset
for help on using the changeset viewer.
