Ngugi1 / sqlite-net

Automatically exported from code.google.com/p/sqlite-net
0 stars 0 forks source link

sqlite-net does not check the exception in CreateTable #36

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use this field in an object:
[PrimaryKey, AutoIncrement]
public uint id;
2. Try to create the table with CreateTable
3. Fails with cannot find table

What is the expected output? What do you see instead?
It should provide the actual error (in this case cannot use autoincrement on 
non integers) instead of assuming the exception is that the table already 
exists and rolling with that.

Original issue reported on code.google.com by amro...@gmail.com on 16 Feb 2011 at 3:46