simple-backup
simple-backup copied to clipboard
Restore fails
Updates to fix errors when executing SQL lines starting with description line.
BUT; there are still bugs. TRIGGERs cannot be imported.
message | "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'DELIMITER $\rCREATE TRIGGER trigger_name
AFTER INSERT ON table1
FOR ...' at line 1"
line_number | 386
query | "DELIMITER $\rCREATE TRIGGER trigger_name
AFTER INSERT ON table1
FOR EACH ROW insert into table2 (id) values (new.id)\r$\rDELIMITER ;\r
MariaDB-10.4.27 mysqlnd 8.2.0 PHP version: 8.2.0
Can I work on this task? @jesperpedersen
@joanjeremiah Yes
I plan to:
- Increment log level counters in the pgmoneta_log_line function.
- Store these counters in the config struct as an array.
- Use this array in prometheus.c's general_information function to log these metrics in the specified manner.
@jesperpedersen Could you confirm if this approach sounds good, or if there are any adjustments you'd recommend?
Thanks!
Yes, this sound good, so lets see how the patch looks
How is this going ?
@joanjeremiah Ping ?
I started working on this. Couldn't find the time to continue. Will work on it, this weekend.
@joanjeremiah Still ok on this ?
@joanjeremiah Still ok on this ?
Sorry, couldnt find time to complete this.
@joanjeremiah Do you want to be unassigned on it ? It isn't a big task so you should be able to complete it quickly - you can do it
@joanjeremiah Do you want to be unassigned on it ? It isn't a big task so you should be able to complete it quickly - you can do it
Kindly unassign me
@joanjeremiah No problem