File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ function processDatalog() {
160160 }
161161 $ params = array_merge ($ f_params , $ params );
162162 unset($ f_params );
163-
163+
164164 $ tmp_sql1 = substr ($ tmp_sql1 , 0 , -1 );
165165 $ tmp_sql2 = substr ($ tmp_sql2 , 0 , -1 );
166166 //$tmp_sql1 .= "$idx[0]";
@@ -171,14 +171,14 @@ function processDatalog() {
171171 $ app ->db ->query ($ sql , true , $ params );
172172 if ($ app ->db ->errorNumber > 0 ) {
173173 $ replication_error = true ;
174- $ app ->log ("Replication failed. Error: ( " . $ d ['dbtable ' ] . ") in MySQL server: ( " .$ app ->db ->dbHost .") " . $ app ->db ->errorMessage . " # SQL: " . $ sql , LOGLEVEL_ERROR );
174+ $ app ->log ("Replication of datalog_id: " . $ d [ ' datalog_id ' ] . " failed. Error: ( " . $ d ['dbtable ' ] . ") in MySQL server: ( " .$ app ->db ->dbHost .") " . $ app ->db ->errorMessage . " # SQL: " . $ sql , LOGLEVEL_ERROR );
175175 }
176176 $ log = $ app ->db ->_build_query_string ($ sql , true , $ params );
177177 $ app ->log ('Replicated from master: ' .$ log , LOGLEVEL_DEBUG );
178178 unset($ params );
179179 unset($ log );
180180 }
181-
181+
182182 if ($ d ['action ' ] == 'd ' ) {
183183 $ idx = explode (': ' , $ d ['dbidx ' ]);
184184 $ sql = "DELETE FROM ?? " ;
You can’t perform that action at this time.
0 commit comments