mirror of
https://github.com/pocoproject/poco.git
synced 2025-06-05 22:20:51 +02:00
minor Data fixes
This commit is contained in:
parent
8c53f354e5
commit
db9e20b7fd
@ -8,6 +8,8 @@
|
|||||||
|
|
||||||
include $(POCO_BASE)/build/rules/global
|
include $(POCO_BASE)/build/rules/global
|
||||||
|
|
||||||
|
COMMONFLAGS += -I$(POCO_BASE)/Data/SQLite/src
|
||||||
|
|
||||||
SYSFLAGS += -DSQLITE_THREADSAFE=1 -DSQLITE_DISABLE_LFS \
|
SYSFLAGS += -DSQLITE_THREADSAFE=1 -DSQLITE_DISABLE_LFS \
|
||||||
-DSQLITE_OMIT_UTF16 -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_COMPLETE \
|
-DSQLITE_OMIT_UTF16 -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_COMPLETE \
|
||||||
-DSQLITE_OMIT_TCL_VARIABLE -DSQLITE_OMIT_DEPRECATED
|
-DSQLITE_OMIT_TCL_VARIABLE -DSQLITE_OMIT_DEPRECATED
|
||||||
|
@ -280,8 +280,6 @@ void StatementImpl::fixupBinding()
|
|||||||
AbstractBindingVec::iterator it = bindings().begin();
|
AbstractBindingVec::iterator it = bindings().begin();
|
||||||
AbstractBindingVec::iterator itEnd = bindings().end();
|
AbstractBindingVec::iterator itEnd = bindings().end();
|
||||||
AbstractBinder& bin = binder();
|
AbstractBinder& bin = binder();
|
||||||
std::size_t numRows = 0;
|
|
||||||
if (it != itEnd) numRows = (*it)->numOfRowsHandled();
|
|
||||||
for (; it != itEnd; ++it) (*it)->setBinder(&bin);
|
for (; it != itEnd; ++it) (*it)->setBinder(&bin);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user