mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.Sql: added 'binary' flag to SqlColumnInfo to check for binary columns
.OleDB: fixed logic for fetching multiple BLOB columns from a rowset .OleDB: fixed BLOB update logic based on SqlRaw .Geom/Draw: removed assembly variant of matrix-vector multiplication git-svn-id: svn://ultimatepp.org/upp/trunk@3322 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
0b488dc8f5
commit
5daee1fcff
14 changed files with 217 additions and 98 deletions
|
|
@ -186,6 +186,7 @@ bool Sqlite3Connection::Execute() {
|
|||
for (int i = 0; i < numfields; ++i) {
|
||||
SqlColumnInfo& field = info[i];
|
||||
field.name = sqlite3_column_name(current_stmt,i);
|
||||
field.binary = false;
|
||||
String coltype = sqlite3_column_decltype(current_stmt,i);
|
||||
switch (sqlite3_column_type(current_stmt,i)) {
|
||||
case SQLITE_INTEGER:
|
||||
|
|
@ -223,6 +224,7 @@ bool Sqlite3Connection::Execute() {
|
|||
break;
|
||||
case SQLITE_BLOB:
|
||||
field.type = STRING_V;
|
||||
field.binary = true;
|
||||
break;
|
||||
default:
|
||||
NEVER();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue