Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Pass the original connection flags into the invoked parameter binding and data reader callbacks. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | customDataTypes |
Files: | files | file ages | folders |
SHA1: |
044e580886e91c58f7b47cf364eae0c6 |
User & Date: | mistachkin 2016-06-19 20:38:33.041 |
Context
2016-06-19
| ||
21:24 | Further enhancements to the new test suite procedures. check-in: 3febc8dc31 user: mistachkin tags: customDataTypes | |
20:38 | Pass the original connection flags into the invoked parameter binding and data reader callbacks. check-in: 044e580886 user: mistachkin tags: customDataTypes | |
20:28 | When invoking a data reader callback, pass in the method name that was responsible for invoking it. check-in: 5bead76447 user: mistachkin tags: customDataTypes | |
Changes
Changes to System.Data.SQLite/SQLiteDataReader.cs.
︙ | ︙ | |||
448 449 450 451 452 453 454 455 456 457 458 459 460 461 | private void InvokeReadValueCallback( int index, SQLiteReadValueEventArgs eventArgs, out bool complete ) { complete = false; _flags &= ~SQLiteConnectionFlags.UseConnectionReadValueCallbacks; try { string typeName = GetDataTypeName(index); if (typeName == null) | > | 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 | private void InvokeReadValueCallback( int index, SQLiteReadValueEventArgs eventArgs, out bool complete ) { complete = false; SQLiteConnectionFlags oldFlags = _flags; _flags &= ~SQLiteConnectionFlags.UseConnectionReadValueCallbacks; try { string typeName = GetDataTypeName(index); if (typeName == null) |
︙ | ︙ | |||
478 479 480 481 482 483 484 | if (callback == null) return; object userData = callbacks.ReadValueUserData; callback( | | | 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 | if (callback == null) return; object userData = callbacks.ReadValueUserData; callback( _activeStatement._sql, this, oldFlags, eventArgs, typeName, index, userData, out complete); /* throw */ } finally { _flags |= SQLiteConnectionFlags.UseConnectionReadValueCallbacks; } } |
︙ | ︙ |
Changes to System.Data.SQLite/SQLiteStatement.cs.
︙ | ︙ | |||
294 295 296 297 298 299 300 301 302 303 304 305 306 307 | private void InvokeBindValueCallback( int index, SQLiteParameter parameter, out bool complete ) { complete = false; _flags &= ~SQLiteConnectionFlags.UseConnectionBindValueCallbacks; try { if (parameter == null) return; | > | 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 | private void InvokeBindValueCallback( int index, SQLiteParameter parameter, out bool complete ) { complete = false; SQLiteConnectionFlags oldFlags = _flags; _flags &= ~SQLiteConnectionFlags.UseConnectionBindValueCallbacks; try { if (parameter == null) return; |
︙ | ︙ | |||
344 345 346 347 348 349 350 | if (callback == null) return; object userData = callbacks.BindValueUserData; callback( | | | 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 | if (callback == null) return; object userData = callbacks.BindValueUserData; callback( _sql, _command, oldFlags, parameter, typeName, index, userData, out complete); /* throw */ } finally { _flags |= SQLiteConnectionFlags.UseConnectionBindValueCallbacks; } } |
︙ | ︙ |