updated to the new Pikotools API
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@1071 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -9,6 +9,7 @@ db.o: ../../../winix/winixd/core/requesttypes.h
|
||||
db.o: ../../../pikotools/textstream/textstream.h
|
||||
db.o: ../../../pikotools/convert/convert.h
|
||||
db.o: ../../../pikotools/convert/inttostr.h
|
||||
db.o: ../../../pikotools/convert/strtoint.h ../../../pikotools/convert/text.h
|
||||
db.o: ../../../pikotools/membuffer/membuffer.h
|
||||
db.o: ../../../pikotools/textstream/types.h ../../../pikotools/utf8/utf8.h
|
||||
db.o: ../../../winix/winixd/core/winix_const.h
|
||||
@@ -43,6 +44,8 @@ dbbase.o: ../../../winix/winixd/core/requesttypes.h
|
||||
dbbase.o: ../../../pikotools/textstream/textstream.h
|
||||
dbbase.o: ../../../pikotools/convert/convert.h
|
||||
dbbase.o: ../../../pikotools/convert/inttostr.h
|
||||
dbbase.o: ../../../pikotools/convert/strtoint.h
|
||||
dbbase.o: ../../../pikotools/convert/text.h
|
||||
dbbase.o: ../../../pikotools/membuffer/membuffer.h
|
||||
dbbase.o: ../../../pikotools/textstream/types.h
|
||||
dbbase.o: ../../../pikotools/utf8/utf8.h
|
||||
@@ -60,6 +63,8 @@ dbconn.o: ../../../winix/winixd/core/requesttypes.h
|
||||
dbconn.o: ../../../pikotools/textstream/textstream.h
|
||||
dbconn.o: ../../../pikotools/convert/convert.h
|
||||
dbconn.o: ../../../pikotools/convert/inttostr.h
|
||||
dbconn.o: ../../../pikotools/convert/strtoint.h
|
||||
dbconn.o: ../../../pikotools/convert/text.h
|
||||
dbconn.o: ../../../pikotools/membuffer/membuffer.h
|
||||
dbconn.o: ../../../pikotools/textstream/types.h
|
||||
dbconn.o: ../../../pikotools/utf8/utf8.h
|
||||
@@ -77,6 +82,8 @@ dbitemcolumns.o: ../../../winix/winixd/core/requesttypes.h
|
||||
dbitemcolumns.o: ../../../pikotools/textstream/textstream.h
|
||||
dbitemcolumns.o: ../../../pikotools/convert/convert.h
|
||||
dbitemcolumns.o: ../../../pikotools/convert/inttostr.h
|
||||
dbitemcolumns.o: ../../../pikotools/convert/strtoint.h
|
||||
dbitemcolumns.o: ../../../pikotools/convert/text.h
|
||||
dbitemcolumns.o: ../../../pikotools/membuffer/membuffer.h
|
||||
dbitemcolumns.o: ../../../pikotools/textstream/types.h
|
||||
dbitemcolumns.o: ../../../pikotools/utf8/utf8.h
|
||||
@@ -96,6 +103,8 @@ dbtextstream.o: ../../../winix/winixd/core/requesttypes.h
|
||||
dbtextstream.o: ../../../pikotools/textstream/textstream.h
|
||||
dbtextstream.o: ../../../pikotools/convert/convert.h
|
||||
dbtextstream.o: ../../../pikotools/convert/inttostr.h
|
||||
dbtextstream.o: ../../../pikotools/convert/strtoint.h
|
||||
dbtextstream.o: ../../../pikotools/convert/text.h
|
||||
dbtextstream.o: ../../../pikotools/membuffer/membuffer.h
|
||||
dbtextstream.o: ../../../pikotools/textstream/types.h
|
||||
dbtextstream.o: ../../../pikotools/utf8/utf8.h
|
||||
|
||||
@@ -1 +1 @@
|
||||
o = db.o dbbase.o dbconn.o dbitemcolumns.o dbitemquery.o dbtextstream.o
|
||||
o = db.o dbbase.o dbconn.o dbitemcolumns.o dbitemquery.o dbtextstream.o
|
||||
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2010-2014, Tomasz Sowa
|
||||
* Copyright (c) 2010-2018, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -255,11 +255,10 @@ return date;
|
||||
}
|
||||
|
||||
|
||||
bool DbBase::AssertValueSpace(PGresult * r, int row, int col, PT::Space & space, bool split_single)
|
||||
bool DbBase::AssertValueSpace(PGresult * r, int row, int col, PT::Space & space)
|
||||
{
|
||||
const char * res = AssertValue(r, row, col);
|
||||
|
||||
conf_parser.SplitSingle(split_single);
|
||||
conf_parser.SetSpace(space);
|
||||
space.Clear();
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2010-2014, Tomasz Sowa
|
||||
* Copyright (c) 2010-2018, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -82,7 +82,7 @@ public:
|
||||
static PT::Date AssertValueDate(PGresult * r, int row, int col);
|
||||
|
||||
// non static assignments
|
||||
bool AssertValueSpace(PGresult * r, int row, int col, PT::Space & space, bool split_single = true);
|
||||
bool AssertValueSpace(PGresult * r, int row, int col, PT::Space & space);
|
||||
|
||||
void ClearResult(PGresult * r);
|
||||
long AssertCurrval(const char * table);
|
||||
|
||||
Reference in New Issue
Block a user