upp.src: Gate2->Gate

git-svn-id: svn://ultimatepp.org/upp/trunk@10663 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2017-01-07 05:48:06 +00:00
parent 494f68e882
commit fc4eb533f9
4 changed files with 4 additions and 4 deletions

View file

@ -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) {

View file

@ -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;

View file

@ -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;

View file

@ -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;