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
|
|
@ -678,6 +678,7 @@ bool OCI8Connection::GetColumnInfo() {
|
|||
ci.width = p.dyna_width;
|
||||
ci.precision = Null;
|
||||
ci.scale = Null;
|
||||
ci.binary = (p.type == SQLT_LBI || p.type == SQLT_BLOB);
|
||||
}
|
||||
parse = false;
|
||||
return true;
|
||||
|
|
@ -703,6 +704,7 @@ bool OCI8Connection::GetColumnInfo() {
|
|||
ii.precision = prec;
|
||||
ii.scale = scale;
|
||||
ii.name = ToUpper(TrimRight(String(name, name_len)));
|
||||
ii.binary = false;
|
||||
bool blob = false;
|
||||
switch(type) {
|
||||
case SQLT_NUM:
|
||||
|
|
@ -717,6 +719,7 @@ bool OCI8Connection::GetColumnInfo() {
|
|||
ii.type = ORA_BLOB_V;
|
||||
AddColumn(SQLT_BLOB, sizeof(OCILobLocator *));
|
||||
blob = true;
|
||||
ii.binary = true;
|
||||
break;
|
||||
case SQLT_CLOB:
|
||||
ii.type = ORA_CLOB_V;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue