Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch pst-76cb35b58d Excluding Merge-Ins
This is equivalent to a diff from 1764d76cee to 2d2cbf5603
2024-05-24
| ||
19:15 | Fix support for unnamed parameters using the ?NNN syntax. Pursuant to forum post 76cb35b58d. check-in: ded053d6c2 user: mistachkin tags: trunk | |
2024-05-23
| ||
23:15 | Work-in-progress on addressing forum post 25cafb35e5. check-in: 6d7348176c user: mistachkin tags: pst-25cafb35e5 | |
2024-05-13
| ||
17:29 | Improve testing of the changes on this branch. Closed-Leaf check-in: 2d2cbf5603 user: mistachkin tags: pst-76cb35b58d | |
2024-05-12
| ||
15:48 | Update version history docs. check-in: 5003348e58 user: mistachkin tags: pst-76cb35b58d | |
00:39 | Work-in-progress on addressing forum post 76cb35b58d. check-in: 1820415db5 user: mistachkin tags: pst-76cb35b58d | |
2024-04-27
| ||
15:15 | Update version history docs. check-in: 1764d76cee user: mistachkin tags: trunk | |
2024-04-15
| ||
22:00 | Minor adjustments to the test for ticket [ce4d70ea6f]. check-in: abb207e382 user: mistachkin tags: trunk | |
Changes to Doc/Extra/Provider/version.html.
︙ | |||
47 48 49 50 51 52 53 54 55 56 57 58 59 60 | 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | + | <ul> <li>Updated to <a href="https://www.sqlite.org/releaselog/3_45_3.html">SQLite 3.45.3</a>.</li> <li>Update internal resource list of reserved SQL words.</li> <li>Avoid NullReferenceException from Path.Combine method when the PublishSingleFile property is enabled for a project. Pursuant to forum post <a href="https://www.sqlite.org/forum/forumpost/66a0d2716a">[66a0d2716a]</a>.</li> <li>Add the VfsName connection string property.</li> <li>Fix rarely seen NullReferenceException in the StaticWeakConnectionPool.Add method.</li> <li>Revise the calculation used to bind DateTime values. Fix for <a href="https://system.data.sqlite.org/index.html/info/bbddfeb773">[bbddfeb773]</a>.</li> <li>Fix support for unnamed parameters using the ?NNN syntax. Pursuant to forum post <a href="https://www.sqlite.org/forum/forumpost/76cb35b58d">[76cb35b58d]</a>.</li> </ul> <p><b>1.0.118.0 - June 10, 2023</b></p> <ul> <li>Updated to <a href="https://www.sqlite.org/releaselog/3_42_0.html">SQLite 3.42.0</a>.</li> <li>Add the ConnectionStringPreview, SqlStringPreview, and Canceled connection events.</li> <li>Add support for the sqlite3_is_interrupted core library API. Pursuant to forum post <a href="https://www.sqlite.org/forum/forumpost/b6a707bffb">[b6a707bffb]</a>.</li> <li>Add support for the sqlite_trace_v2 core library API. Pursuant to forum post <a href="https://www.sqlite.org/forum/forumpost/1c418d7edc">[1c418d7edc]</a>.</li> |
︙ |
Changes to Setup/data/verify.lst.
︙ | |||
842 843 844 845 846 847 848 849 850 851 852 853 854 855 | 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 | + | Tests/function.eagle Tests/installer.eagle Tests/linq.eagle Tests/memory.eagle Tests/pool.eagle Tests/progress.eagle Tests/pst-4db2934c2e.eagle Tests/pst-76cb35b58d.eagle Tests/pst-eeaefb84ec.eagle Tests/pst-f4e718891d.eagle Tests/session.eagle Tests/speed.eagle Tests/stress.eagle Tests/template/ Tests/template/empty.eagle |
︙ |
Changes to System.Data.SQLite/SQLiteParameter.cs.
1 2 3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | - + + | /******************************************************** * ADO.NET 2.0 Data Provider for SQLite Version 3.X * Written by Robert Simpson (robert@blackcastlesoft.com) |
︙ | |||
72 73 74 75 76 77 78 | 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | - + | { _command = command; } /// <summary> /// Default constructor /// </summary> |
︙ | |||
202 203 204 205 206 207 208 | 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 | - + | /// Constructs a named parameter of the specified type, size, source column and row version /// </summary> /// <param name="parameterName">The name of the parameter</param> /// <param name="parameterType">The data type</param> /// <param name="parameterSize">The size of the parameter</param> /// <param name="sourceColumn">The source column</param> /// <param name="rowVersion">The row version information</param> |
︙ | |||
230 231 232 233 234 235 236 | 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 | - + | /// <param name="parameterSize">The size of the parameter</param> /// <param name="direction">Only input parameters are supported in SQLite</param> /// <param name="isNullable">Ignored</param> /// <param name="precision">Ignored</param> /// <param name="scale">Ignored</param> /// <param name="sourceColumn">The source column</param> /// <param name="rowVersion">The row version information</param> |
︙ | |||
308 309 310 311 312 313 314 | 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 | - + - + | /// </summary> public IDbCommand Command { get { return _command; } |
︙ | |||
503 504 505 506 507 508 509 | 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 | - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | /// <returns>A new, unassociated SQLiteParameter</returns> public object Clone() { SQLiteParameter newparam = new SQLiteParameter(this); return newparam; } |
Changes to System.Data.SQLite/SQLiteParameterCollection.cs.
︙ | |||
419 420 421 422 423 424 425 | 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 | - + - + - + | string s; int n; int y = -1; SQLiteStatement stmt; foreach(SQLiteParameter p in _parameterList) { |
︙ | |||
452 453 454 455 456 457 458 | 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 | - + - + + + + | stmt = null; } // If the parameter has a name, but the SQL statement uses unnamed references, this can happen -- attempt to map // the parameter by its index in the collection if (isMapped == false) { |
Changes to System.Data.SQLite/SQLiteStatement.cs.
︙ | |||
102 103 104 105 106 107 108 | 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | - + | _paramValues = new SQLiteParameter[n]; for (x = 0; x < n; x++) { s = _sql.Bind_ParamName(this, _flags, x + 1); if (String.IsNullOrEmpty(s)) { |
︙ | |||
206 207 208 209 210 211 212 213 214 215 216 217 218 219 | 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 | + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | if ((_sql != null) && _sql.IsOpen()) { changes = _sql.Changes; readOnly = _sql.IsReadOnly(this); return true; } return false; } /////////////////////////////////////////////////////////////////////////////////////////////// /// <summary> /// This method attempts to map the specified named placeholder /// parameter, i.e. an unnamed parameter that has been given an /// placeholder name. /// </summary> /// <param name="s">The placeholder parameter name to map.</param> /// <param name="p">The parameter to assign it.</param> internal bool MapUnnamedParameter(string s, SQLiteParameter p) { if (_paramNames == null) return false; int index; if (SQLiteParameter.IsUnnamedPlaceholder(s, out index)) { s = String.Format("?{0}", index); int length = s.Length; int count = _paramNames.Length; for (int n = 0; n < count; n++) { if (String.Compare( _paramNames[n], 0, s, 0, length, StringComparison.Ordinal) == 0) { _paramValues[n] = p; return true; } } } return false; } /////////////////////////////////////////////////////////////////////////////////////////////// /// <summary> |
︙ |
Added Tests/pst-76cb35b58d.eagle.