mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-01 15:52:41 -06:00
upp.src: Gate2->Gate
git-svn-id: svn://ultimatepp.org/upp/trunk@10663 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
494f68e882
commit
fc4eb533f9
4 changed files with 4 additions and 4 deletions
|
|
@ -264,7 +264,7 @@ String ODBCSession::EnumRowID(String database, String table)
|
|||
return "";
|
||||
}
|
||||
|
||||
bool ODBCPerformScript(const String& text, StatementExecutor& executor, Gate2<int, int> progress_canceled)
|
||||
bool ODBCPerformScript(const String& text, StatementExecutor& executor, Gate<int, int> progress_canceled)
|
||||
{
|
||||
const char *p = text;
|
||||
while(*p) {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
namespace Upp {
|
||||
|
||||
bool ODBCPerformScript(const String& text, StatementExecutor& executor, Gate2<int, int> progress_canceled = false);
|
||||
bool ODBCPerformScript(const String& text, StatementExecutor& executor, Gate<int, int> progress_canceled = Null);
|
||||
|
||||
class ODBCConnection;
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ bool Sqlite3PerformScript(const String& text,
|
|||
#else
|
||||
StatementExecutor& se = SQLStatementExecutor(),
|
||||
#endif
|
||||
Gate2<int, int> progress_canceled = false
|
||||
Gate<int, int> progress_canceled = Null
|
||||
);
|
||||
|
||||
class Sqlite3Connection;
|
||||
|
|
|
|||
|
|
@ -535,7 +535,7 @@ const char *Sqlite3ReadString(const char *s, String& stmt) {
|
|||
return s;
|
||||
}
|
||||
|
||||
bool Sqlite3PerformScript(const String& txt, StatementExecutor& se, Gate2<int, int> progress_canceled) {
|
||||
bool Sqlite3PerformScript(const String& txt, StatementExecutor& se, Gate<int, int> progress_canceled) {
|
||||
const char *text = txt;
|
||||
for(;;) {
|
||||
String stmt;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue