#133 no exception thrown on error

Third-Party_Bug
closed
nobody
Data (43)
5
2012-09-14
2008-01-15
nadav
No

Hi,

when using the SQLite environment, i have created a table with random data.
after the table is created, i performed a 'SELECT' query, but i haven't specified all of the requested data (in the attached example in line# 39, the 'use' keyword is missing).

i expected the program to throw an exception of some sort, but i don't get any indication what so ever.

Nadav Greenspon.

Discussion

  • nadav
    nadav
    2008-01-15

     
    Attachments
  • Alex Fabijanic
    Alex Fabijanic
    2008-01-15

    Logged In: YES
    user_id=1001095
    Originator: NO

    Nadav,

    Thank you for the report. This is indeed a shortcoming of the SQLite connector. I'll submit a patch soon.

    Alex

     
  • Alex Fabijanic
    Alex Fabijanic
    2008-01-16

    SQLiteStatementImpl.cpp.patch

     
  • Alex Fabijanic
    Alex Fabijanic
    2008-01-16

    Logged In: YES
    user_id=1001095
    Originator: NO

    Patches to fix this problem. All patches are against the SVN trunk. Code will be in both SVN trunk and 1.3.2. branches shortly.

    1) SQLiteStatementImpl.cpp patch
    2) SQLiteException.cpp.patch
    3) SQLiteException.h.patch
    File Added: SQLiteStatementImpl.cpp.patch

     
  • Alex Fabijanic
    Alex Fabijanic
    2008-01-16

    Logged In: YES
    user_id=1001095
    Originator: NO

    SQLiteException.cpp.patch
    File Added: SQLiteException.cpp.patch

     
  • Alex Fabijanic
    Alex Fabijanic
    2008-01-16

    SQLiteException.cpp.patch

     
  • Alex Fabijanic
    Alex Fabijanic
    2008-01-16

    SQLiteException.h.patch

     
  • Alex Fabijanic
    Alex Fabijanic
    2008-01-16

    Logged In: YES
    user_id=1001095
    Originator: NO

    SQLiteException.h.patch
    File Added: SQLiteException.h.patch