Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
201dc85
)
eda/drivers/SQLite: Fix use case of Id type directly
author
Jerome St-Louis
<jerome@ecere.com>
Wed, 9 Dec 2015 23:22:03 +0000
(18:22 -0500)
committer
Jerome St-Louis
<jerome@ecere.com>
Tue, 22 Dec 2015 06:45:09 +0000
(
01:45
-0500)
eda/drivers/sqlite/EDASQLite.ec
patch
|
blob
|
history
diff --git
a/eda/drivers/sqlite/EDASQLite.ec
b/eda/drivers/sqlite/EDASQLite.ec
index
68d3ab2
..
f8a0f71
100644
(file)
--- a/
eda/drivers/sqlite/EDASQLite.ec
+++ b/
eda/drivers/sqlite/EDASQLite.ec
@@
-836,7
+836,7
@@
class SQLiteTable : Table
result = sqlite3_create_collation_v2(db.db, type.fullName, SQLITE_UTF8, type, CollationCompare, null);
}
}
- if(sqliteType != SQLITE_BLOB && eClass_IsDerived(type, class(eda::Id)))
+ if(sqliteType != SQLITE_BLOB && eClass_IsDerived(type, class(eda::Id))
&& type != class(eda::Id)
)
{
Table * table = (Table *)(intptr)eClass_GetProperty(type, "table");
if(table) refTable = *table;