Coder Social home page Coder Social logo

managed-sqlite's People

Watchers

James Cloos avatar

managed-sqlite's Issues

TableExists() makes query which is not finalized

What steps will reproduce the problem?
1. Open database
2. Use TableExists() method
3. Close database - an Exception is thrown

What is the expected output? What do you see instead?
TableExists() should finalize the query it internally uses

What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by ludek%[email protected] on 3 Apr 2008 at 8:48

Usage on 64-bit version of 2003

What steps will reproduce the problem?
1. Create a VS2005 project with some code that works with ManagedSqlite
2. Run the compiled exe on a 64 bit version of windows 2003

The program does not run, instead it says: Could not load file or assembly
'ManagedSQLite,...


Original issue reported on code.google.com by [email protected] on 17 Mar 2009 at 8:17

BeginTransaction, CommitTransaction, and EndTransaction are not Finalized.

What steps will reproduce the problem?
1. Call BeginTransaction
2. Execute Query(s)
3. Call CommitTransaction
4. Close Database

What is the expected output? What do you see instead?
Expected: The Database is closed. Actual: "Unable to close due to 
unfinalized statements"

What version of the product are you using? On what operating system?
1.0.0.01340 (SQLite 3.4.0 with FTS1 and FTS2)

OS: Windows XP Pro

Please provide any additional information below.

The methods should be something similar to:

void Database::BeginTransaction()
{
    Query ^q = ExecuteQuery(_T("BEGIN TRANSACTION;"));
    q->FinalizeQuery();
}
void Database::CommitTransaction()
{
    Query ^q = ExecuteQuery(_T("COMMIT TRANSACTION;"));
    q->FinalizeQuery();
}
/* I Added this. */
void Database::RollbackTransaction()
{
    Query ^q = ExecuteQuery(_T("ROLLBACK TRANSACTION;"));
    q->FinalizeQuery();
}
void Database::EndTransaction()
{
    Query ^q = ExecuteQuery(_T("END TRANSACTION;"));
    q->FinalizeQuery();
}

Original issue reported on code.google.com by [email protected] on 15 Jan 2009 at 8:29

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.