Jonathan Levin

Results 6 issues of Jonathan Levin

Here is a pseudo code/demo that includes some pretend features that make this slightly more extendable. ``` #[dbi_trait(impl_for(new="UserDao"))] pub trait UserDaoImpl { #[schema (production)] -- helps with testing in 'test'...

We need a logical backup tool -> that outputs CREATE TABLE and INSERT statement (while disabling foreign keys)

EE

Is it possible to nest templates? For example: ``` {{define "star"}} ID, EMAIL, ADDRESS1 as address_line1, ADDRESS2 as address_line2, POSTCODE {{end}} {{define "allUsers"}} SELECT {{star}} FROM users WHERE 1=1 {{end}}...

Converts many single INSERT statements into one INSERT statement with many values. Example: `INSERT INTO table VALUES (1,'yes'),(2,'no),(3,'maybe'),(4,'not sure')` https://dzone.com/articles/performant-batch-inserts-using-jdbc https://www.journaldev.com/2494/jdbc-batch-insert-update-mysql-oracle

Allow the driver the ability to fetch the last generated key from the database. In MySQL it would use `SELECT LAST_INSERT_ID()`

**Describe the bug** mydumper -v 3 --csv --compress ZSTD *** Error in `mydumper': realloc(): invalid pointer: 0x00007f36f42e2a20 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x7f474)[0x7f37254f5474] /lib64/libc.so.6(realloc+0x389)[0x7f37254fbfc9] /lib64/libglib-2.0.so.0(g_realloc+0x16)[0x7f3726a1e806] /lib64/libglib-2.0.so.0(+0x6d534)[0x7f3726a3a534] /lib64/libglib-2.0.so.0(g_string_insert_len+0x77)[0x7f3726a3a827] mydumper(write_load_data_column_into_string+0x10e)[0x43446e] mydumper(write_row_into_file_in_load_data_mode+0x44f)[0x435f7f] mydumper(write_table_job_into_file+0x284)[0x4370f4] mydumper(process_integer_chunk_job+0x12b)[0x42d84b]...

bug