SqliteDataReader::GetFieldType
[mono.git] / mcs / class / Mono.Data.SqliteClient / Mono.Data.SqliteClient / ChangeLog
1 2006-01-06  Joshua Tauberer  <tauberer@for.net>
2
3         * SqliteDataReader.cs: GetFieldType can be called
4           before the reader is positioned on a row.  In that
5           case, return the types for the first row.
6
7 2006-01-02  Joshua Tauberer  <tauberer@for.net>
8
9         * SqliteCommand.cs: It was revealed that preparing
10           statements ahead of time was not possible as table
11           schema changes lead to errors.  This needed serious
12           reorganization.  SQL syntax errors and BUSY errors
13           are now raised in nice exceptions.
14         * SqliteDataReader.cs:
15                 * Use object[] in place of ArrayList for each row.
16                 * For Sqlite3, which remembers whether a value was
17                   an integer, text, real, or blob, actually return
18                   longs, strings, doubles, and byte[]s.
19                 * GetDataTypeName() works where possible (Sqlite3).
20                 * INT/INTEGER columns are now returned as ints,
21                   rather than longs, for Sqlite3.  Similarly for
22                   DATE and DATETIME columns, now returning DateTimes.
23         * SqliteConnection.cs.cs: BeginTransaction(IsolationLevel)
24           throws InvalidOperationException per the MS docs.
25         * SqliteExceptions.cs: New file with SqliteSyntaxException,
26           SqliteExecutionException, and its subclass SqliteBusyException.
27
28 2005-12-27  Jonathan Pryor  <jonpryor@vt.edu>
29
30         * SqliteCommand.cs: Use non-obsolete UnixMarshal members.
31
32 2005-10-06  Chris Lahey  <clahey@localhost.localdomain>
33
34         * SqliteCommand.cs (Prepare): Use UnixMarshal here to get proper
35         utf8 behavior.
36
37 2005-07-28  Joshua Tauberer <tauberer@for.net>
38
39         * Sqlite.cs, SqliteCommand.cs: Report string error messages
40         in prepare, for version 3.
41
42 2005-07-26  Joshua Tauberer <tauberer@for.net>
43
44         SQL commands can have multiple statements within them (i.e.
45         separated by semicolons).  Sqlite has to be instructed to
46         process each command.
47         
48         * Sqlite.cs: Pass the sql command as an IntPtr so we can
49           see where pzTail takes us.
50         * SqliteCommand.cs: Lazily load sql_params for good measure.
51           Iterate compile/prepare until each statement in the string
52           has been processed, and retain pointers to each compiled
53           statement.  When executing, run all of the statements.
54
55 2005-06-14  Thomas Zoechling <thomas.zoechling@gmx.at>
56
57         * Sqlite.cs:
58         - Added sqlite3_bind_* for native Sqlite3 Parameters
59         * SqliteCommand.cs
60         - Added methods for parameter processing/binding (sqlite3 uses bind / sqlite2 uses regEx to extract parameters)
61         - Sqlite uses ':' as delimeter!
62         * SqliteParameterCollection.cs
63         - Chris Turchin fixed a problem in the Parameter Hashmap
64         * SqliteTransaction.cs
65         - The CommandText for the Rollback Command was "COMMIT" ! ->changed :)
66
67 2005-05-20  Sureshkumar T  <tsureshkumar@novell.com>
68
69         * SqliteConnection.cs:
70         - SetConnectionString: trim white spaces, ignore empty connection
71         string options.
72         - SetConnectionString: if file://,db_file starts from pos 7 not 6.
73
74