void ExecuteScriptWithInserts_StatementExecuted(object sender, MySqlScriptEventArgs e)
        {
            string stmt = String.Format(statementTemplate2, statementCount++, null);

            Assert.Equal(stmt, e.StatementText);
        }
        void ExecuteScriptWithProcedures_QueryExecuted(object sender, MySqlScriptEventArgs e)
        {
            string stmt = String.Format(statementTemplate1, statementCount++, null);

            Assert.Equal(stmt, e.StatementText);
        }
예제 #3
0
 void ExecuteScriptWithInserts_StatementExecuted(object sender, MySqlScriptEventArgs e)
 {
     string stmt = String.Format(statementTemplate2, statementCount++, null);
     Assert.AreEqual(stmt, e.StatementText);
 }
예제 #4
0
 private static void script_StatementExecuted(object sender, MySqlScriptEventArgs args)
 {
     Console.WriteLine(args.StatementText);
 }
예제 #5
0
 private void scriptStatementExecuted(object sender, MySqlScriptEventArgs e)
 {
     //to testara ligo to apo katw fenete na doulevei swsta
     commandCounter += StringUtils.countOccurances(e.StatementText, config.scriptDelimeter) + 1; //to +1 einai to delimeter(semicolon) sto telos kathe statement
     onProgress(commandCounter);
 }
예제 #6
0
 void ExecuteScriptWithProcedures_QueryExecuted(object sender, MySqlScriptEventArgs e)
 {
     string stmt = String.Format(statementTemplate1, statementCount++, null);
     Assert.AreEqual(stmt, e.StatementText);
 }
예제 #7
0
 public void script_StatementExecuted(object sender, MySqlScriptEventArgs args)
 {
     if (debug) Console.WriteLine("script_StatementExecuted");
 }
예제 #8
0
 /// <summary>
 /// Fonction appelée lors de l'éxécution du script
 /// </summary>
 /// <param name="sender">Objet à l'origine de l'appel</param>
 /// <param name="args">Arguments d'appel</param>
 static void script_StatementExecuted(object sender, MySqlScriptEventArgs args)
 {
     LogFile.writeLog("Execution du script de création de la base de données...");
 }
예제 #9
0
 static void Myscript_StatementExecuted(object sender, MySqlScriptEventArgs args)
 {
     progressDlg.OperationCurPart++;
     logger.Debug("SQL Command = {0}", args.StatementText);
 }
예제 #10
0
 void Script_StatementExecuted(object sender, MySqlScriptEventArgs args)
 {
     progressbarTotal.Adjustment.Value++;
     textviewLog.Buffer.Text = textviewLog.Buffer.Text + args.StatementText + "\n";
     QSMain.WaitRedraw();
 }
예제 #11
0
 void Myscript_StatementExecuted(object sender, MySqlScriptEventArgs args)
 {
     controller.Progress.Add();
     logger.Debug("SQL Command = {0}", args.StatementText);
 }