Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add stress test for the race condition in ticket [72905c9a77]. Also, avoid using 'SELECT *' in any tests. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
15e0be2ffb3578d1dde11f68a462d6b8 |
User & Date: | mistachkin 2012-03-11 06:51:03.675 |
References
2012-03-11
| ||
06:52 | • Closed ticket [72905c9a77]: SQLite error (21): misuse at line 112492 of [ebd01a8def] plus 1 other change artifact: bf2b72f851 user: mistachkin | |
Context
2012-03-11
| ||
07:01 | Enable the PreLoadNativeLibrary build property by default. This feature has now been tested on the 32-bit and 64-bit variants of Windows 7 as well as 32-bit Windows XP with no issues. check-in: 0cf606caf6 user: mistachkin tags: trunk | |
06:51 | Add stress test for the race condition in ticket [72905c9a77]. Also, avoid using 'SELECT *' in any tests. check-in: 15e0be2ffb user: mistachkin tags: trunk | |
2012-02-28
| ||
17:35 | Stop using the 'StringComparison.InvariantCulture*' values. check-in: 3137eacf49 user: mistachkin tags: trunk | |
Changes
Changes to Tests/basic.eagle.
︙ | |||
174 175 176 177 178 179 180 181 182 183 184 185 186 187 | 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 | + + | { connection.Open(); return connection.GetSchema("ReservedWords"); } } /////////////////////////////////////////////////////////////////////// public static void Main() { // do nothing. } } } }] true true true results errors System.Data.SQLite.dll] |
︙ | |||
233 234 235 236 237 238 239 240 241 242 243 244 245 246 | 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 | + + | "Data Source=${dataSource};")) { connection.Open(); return connection.GetSchema("ForeignKeys").Rows; } } /////////////////////////////////////////////////////////////////////// public static void Main() { // do nothing. } } } |
︙ | |||
331 332 333 334 335 336 337 338 339 340 341 342 343 344 | 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 | + + | // // NOTE: Make sure the retry parameter values were set. // return (newCount == count && newInterval == interval); } } /////////////////////////////////////////////////////////////////////// public static void Main() { // do nothing. } } } }] true true true results errors System.Data.SQLite.dll] |
︙ | |||
394 395 396 397 398 399 400 | 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 | - + | set id [object invoke Interpreter.GetActive NextId] set dataSource [file join [getDatabaseDirectory] $fileName] set sql { \ BEGIN EXCLUSIVE TRANSACTION; \ CREATE TABLE t1(x INTEGER); \ INSERT INTO t1 (x) VALUES(1); \ |
︙ | |||
452 453 454 455 456 457 458 | 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 | - + | set id [object invoke Interpreter.GetActive NextId] set dataSource [file join [getDatabaseDirectory] $fileName] set sql { \ BEGIN EXCLUSIVE TRANSACTION; \ CREATE TABLE t1(x INTEGER); \ INSERT INTO t1 (x) VALUES(1); \ |
︙ | |||
513 514 515 516 517 518 519 | 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 | - + | set id [object invoke Interpreter.GetActive NextId] set dataSource [file join [getDatabaseDirectory] $fileName] set sql { \ BEGIN EXCLUSIVE TRANSACTION; \ CREATE TABLE t1(x INTEGER); \ INSERT INTO t1 (x) VALUES(1); \ |
︙ | |||
864 865 866 867 868 869 870 871 872 873 874 875 876 877 | 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 | + + | builder.Add("Date Source", "test.db"); builder.Add("DateTimeFormat", format); builder.Add("DateTimeKind", kind); return builder.ToString(); } /////////////////////////////////////////////////////////////////////// public static void Main() { // do nothing. } } } }] true true true results errors System.Data.SQLite.dll] |
︙ | |||
938 939 940 941 942 943 944 945 946 947 948 949 950 951 | 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 | + + | propertyValue = typeof(SQLiteConnectionStringBuilder).InvokeMember( propertyName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.GetProperty, null, builder, null); } return String.Format("{0}, {1}", propertyValue, builder); } /////////////////////////////////////////////////////////////////////// public static void Main() { // do nothing. } } } |
︙ |
Added Tests/tkt-72905c9a77.eagle.