[Mono-bugs] [Bug 78144][Maj] New -
Mono.Data.SqliteClient.SqliteCommand.LastInsertRowID() must
return long not int for sqlite3
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Apr 20 02:59:11 EDT 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by slomo at ubuntu.com.
http://bugzilla.ximian.com/show_bug.cgi?id=78144
--- shadow/78144 2006-04-20 02:59:11.000000000 -0400
+++ shadow/78144.tmp.12248 2006-04-20 02:59:11.000000000 -0400
@@ -0,0 +1,27 @@
+Bug#: 78144
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: Sys.Data
+AssignedTo: tsenganal at novell.com
+ReportedBy: slomo at ubuntu.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Mono.Data.SqliteClient.SqliteCommand.LastInsertRowID() must return long not int for sqlite3
+
+Hi,
+For sqlite3 the sqlite3_last_insert_rowid() function returns a signed 64bit
+integer thus it must be long or Int64 for the bindings:
+sqlite_int64 sqlite3_last_insert_rowid(sqlite3*);
+
+For sqlite2 this is:
+int sqlite_last_insert_rowid(sqlite*);
+
+Bye
More information about the mono-bugs
mailing list