Oracle: SQLT_TIMESTAMP support (thanks alendar)

git-svn-id: svn://ultimatepp.org/upp/trunk@2931 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2010-12-25 19:39:25 +00:00
parent 879433b74d
commit f36070c3cb
2 changed files with 15 additions and 0 deletions

View file

@ -430,6 +430,17 @@ ool]_[*@3 b]_`=_[@(0.0.255) true])&]
[s2;%% Same as ProcessTab(false).&]
[s3;%% &]
[s4; &]
[s5;:TextCtrl`:`:ProcessEnter`(bool`): [_^TextCtrl^ TextCtrl][@(0.0.255) `&]_[* ProcessEnte
r]([@(0.0.255) bool]_[*@3 b]_`=_[@(0.0.255) true])&]
[s2;%% If active (non`-default), widget accepts K`_ENTER keystrokes
(inserts a new line).&]
[s3;%% &]
[s4; &]
[s5;:TextCtrl`:`:NoProcessEnter`(`): [_^TextCtrl^ TextCtrl][@(0.0.255) `&]_[* NoProcessEnte
r]()&]
[s2;%% Same as ProcessEnter(false).&]
[s3; &]
[s4; &]
[s5;:TextCtrl`:`:NoBackground`(bool`): [_^TextCtrl^ TextCtrl][@(0.0.255) `&]_[* NoBackgroun
d]([@(0.0.255) bool]_[*@3 b]_`=_[@(0.0.255) true])&]
[s2;%% Sets the widget into transparent mode `- background is not

View file

@ -727,6 +727,10 @@ bool OCI8Connection::GetColumnInfo() {
ii.type = STRING_V;
AddColumn(SQLT_STR, 64);
break;
case SQLT_TIMESTAMP: // type 187
ii.type = STRING_V;
AddColumn(SQLT_STR, 30);
break;
default:
ii.type = STRING_V;
AddColumn(SQLT_STR, ii.width ? ii.width + 1 : longsize);