Details
Description
Customer has few legacy functions.
One of the function has some syntax error.
But more importantly customer is unable to take a dump of the function even with --force.
mysqldump --no-data --routines --events --triggers --force --databases xxxx> dump.sql
|
mysqldump: Couldn't execute 'SHOW CREATE FUNCTION `FF1`': Undeclared variable: DBPAY_DRAWING_AMT (1327) |
Force option is supposed to ignore the error, add a comment in the dump file and move on to the next object.
This doesnt happen for this particular function.
But the behaviour can be observed for "Views with missing tables" errors.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Description |
Customer has few legacy functions.
One the function has some syntax error. But more importantly customer is unable to take a dump of the function even with --force. Force option is supposed to ignore the error, add a comment in the dump file and move on to the next object. This doesnt happen for this particular function. But the behaviour can be observed for "Views with missing tables" errors. |
Customer has few legacy functions.
One the function has some syntax error. But more importantly customer is unable to take a dump of the function even with --force. {code:java} [mysql@x01gtdsdb2a mysqldump]$ mysqldump -uinstadm -p --no-data --routines --events --triggers --max-allowed-packet=100M --single-transaction --force --databases tdsdbsgowner > ddl_tdsdbsgowner.sql Enter password: mysqldump: Couldn't execute 'SHOW CREATE FUNCTION `FF1`': Failed to load routine tdsdbsgowner.FF1 (internal code -6). For more details, run SHOW WARNINGS (1457) {code} Force option is supposed to ignore the error, add a comment in the dump file and move on to the next object. This doesnt happen for this particular function. But the behaviour can be observed for "Views with missing tables" errors. |
Description |
Customer has few legacy functions.
One the function has some syntax error. But more importantly customer is unable to take a dump of the function even with --force. {code:java} [mysql@x01gtdsdb2a mysqldump]$ mysqldump -uinstadm -p --no-data --routines --events --triggers --max-allowed-packet=100M --single-transaction --force --databases tdsdbsgowner > ddl_tdsdbsgowner.sql Enter password: mysqldump: Couldn't execute 'SHOW CREATE FUNCTION `FF1`': Failed to load routine tdsdbsgowner.FF1 (internal code -6). For more details, run SHOW WARNINGS (1457) {code} Force option is supposed to ignore the error, add a comment in the dump file and move on to the next object. This doesnt happen for this particular function. But the behaviour can be observed for "Views with missing tables" errors. |
Customer has few legacy functions.
One the function has some syntax error. But more importantly customer is unable to take a dump of the function even with --force. {code:java} [mysql@x01gtdsdb2a mysqldump]$ mysqldump -uinstadm -p --no-data --routines --events --triggers --max-allowed-packet=100M --single-transaction --force --databases {database}> dump.sql Enter password: mysqldump: Couldn't execute 'SHOW CREATE FUNCTION `FF1`': Failed to load routine tdsdbsgowner.FF1 (internal code -6). For more details, run SHOW WARNINGS (1457) {code} Force option is supposed to ignore the error, add a comment in the dump file and move on to the next object. This doesnt happen for this particular function. But the behaviour can be observed for "Views with missing tables" errors. |
Description |
Customer has few legacy functions.
One the function has some syntax error. But more importantly customer is unable to take a dump of the function even with --force. {code:java} [mysql@x01gtdsdb2a mysqldump]$ mysqldump -uinstadm -p --no-data --routines --events --triggers --max-allowed-packet=100M --single-transaction --force --databases {database}> dump.sql Enter password: mysqldump: Couldn't execute 'SHOW CREATE FUNCTION `FF1`': Failed to load routine tdsdbsgowner.FF1 (internal code -6). For more details, run SHOW WARNINGS (1457) {code} Force option is supposed to ignore the error, add a comment in the dump file and move on to the next object. This doesnt happen for this particular function. But the behaviour can be observed for "Views with missing tables" errors. |
Customer has few legacy functions.
One the function has some syntax error. But more importantly customer is unable to take a dump of the function even with --force. {code:java} [mysql@x01gtdsdb2a mysqldump]$ mysqldump -uinstadm -p --no-data --routines --events --triggers --max-allowed-packet=100M --single-transaction --force --databases xxxx> dump.sql Enter password: mysqldump: Couldn't execute 'SHOW CREATE FUNCTION `ABC`': Failed to load routine xxxx.ABC (internal code -6). For more details, run SHOW WARNINGS (1457) {code} Force option is supposed to ignore the error, add a comment in the dump file and move on to the next object. This doesnt happen for this particular function. But the behaviour can be observed for "Views with missing tables" errors. |
Summary | mysqldump --force doesn't ignore error as it should | PENDING mysqldump --force doesn't ignore error as it should |
Summary | PENDING mysqldump --force doesn't ignore error as it should | mysqldump --force doesn't ignore error as it should |
Description |
Customer has few legacy functions.
One the function has some syntax error. But more importantly customer is unable to take a dump of the function even with --force. {code:java} [mysql@x01gtdsdb2a mysqldump]$ mysqldump -uinstadm -p --no-data --routines --events --triggers --max-allowed-packet=100M --single-transaction --force --databases xxxx> dump.sql Enter password: mysqldump: Couldn't execute 'SHOW CREATE FUNCTION `ABC`': Failed to load routine xxxx.ABC (internal code -6). For more details, run SHOW WARNINGS (1457) {code} Force option is supposed to ignore the error, add a comment in the dump file and move on to the next object. This doesnt happen for this particular function. But the behaviour can be observed for "Views with missing tables" errors. |
Customer has few legacy functions.
One of the function has some syntax error. But more importantly customer is unable to take a dump of the function even with --force. {code:java} [mysql@x01gtdsdb2a mysqldump]$ mysqldump -uinstadm -p --no-data --routines --events --triggers --max-allowed-packet=100M --single-transaction --force --databases xxxx> dump.sql Enter password: mysqldump: Couldn't execute 'SHOW CREATE FUNCTION `ABC`': Failed to load routine xxxx.ABC (internal code -6). For more details, run SHOW WARNINGS (1457) {code} Force option is supposed to ignore the error, add a comment in the dump file and move on to the next object. This doesnt happen for this particular function. But the behaviour can be observed for "Views with missing tables" errors. |
Description |
Customer has few legacy functions.
One of the function has some syntax error. But more importantly customer is unable to take a dump of the function even with --force. {code:java} [mysql@x01gtdsdb2a mysqldump]$ mysqldump -uinstadm -p --no-data --routines --events --triggers --max-allowed-packet=100M --single-transaction --force --databases xxxx> dump.sql Enter password: mysqldump: Couldn't execute 'SHOW CREATE FUNCTION `ABC`': Failed to load routine xxxx.ABC (internal code -6). For more details, run SHOW WARNINGS (1457) {code} Force option is supposed to ignore the error, add a comment in the dump file and move on to the next object. This doesnt happen for this particular function. But the behaviour can be observed for "Views with missing tables" errors. |
Customer has few legacy functions.
One of the function has some syntax error. But more importantly customer is unable to take a dump of the function even with --force. {code:java} mysqldump --no-data --routines --events --triggers --force --databases tdsdbsgowner > dump.sql mysqldump: Couldn't execute 'SHOW CREATE FUNCTION `FF1`': Undeclared variable: DBPAY_DRAWING_AMT (1327) {code} Force option is supposed to ignore the error, add a comment in the dump file and move on to the next object. This doesnt happen for this particular function. But the behaviour can be observed for "Views with missing tables" errors. |
Description |
Customer has few legacy functions.
One of the function has some syntax error. But more importantly customer is unable to take a dump of the function even with --force. {code:java} mysqldump --no-data --routines --events --triggers --force --databases tdsdbsgowner > dump.sql mysqldump: Couldn't execute 'SHOW CREATE FUNCTION `FF1`': Undeclared variable: DBPAY_DRAWING_AMT (1327) {code} Force option is supposed to ignore the error, add a comment in the dump file and move on to the next object. This doesnt happen for this particular function. But the behaviour can be observed for "Views with missing tables" errors. |
Customer has few legacy functions.
One of the function has some syntax error. But more importantly customer is unable to take a dump of the function even with --force. {code:java} mysqldump --no-data --routines --events --triggers --force --databases xxxx> dump.sql mysqldump: Couldn't execute 'SHOW CREATE FUNCTION `FF1`': Undeclared variable: DBPAY_DRAWING_AMT (1327) {code} Force option is supposed to ignore the error, add a comment in the dump file and move on to the next object. This doesnt happen for this particular function. But the behaviour can be observed for "Views with missing tables" errors. |
Issue Type | Task [ 3 ] | Bug [ 1 ] |
Labels | mysqldump |
Assignee | Sergei Golubchik [ serg ] |
Affects Version/s | 10.6.12 [ 28513 ] | |
Affects Version/s | 10.5 [ 23123 ] |
Component/s | Scripts & Clients [ 11002 ] |
Assignee | Sergei Golubchik [ serg ] | Daniel Black [ danblack ] |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] |
Fix Version/s | 10.4 [ 22408 ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Status | Open [ 1 ] | Confirmed [ 10101 ] |
Assignee | Daniel Black [ danblack ] | Sergei Golubchik [ serg ] |
Status | Confirmed [ 10101 ] | In Progress [ 3 ] |
Fix Version/s | 10.4 [ 22408 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Status | Stalled [ 10000 ] | In Testing [ 10301 ] |
Fix Version/s | 10.4.31 [ 29010 ] | |
Fix Version/s | 10.5.22 [ 29011 ] | |
Fix Version/s | 10.6.15 [ 29013 ] | |
Fix Version/s | 10.9.8 [ 29015 ] | |
Fix Version/s | 10.10.6 [ 29017 ] | |
Fix Version/s | 10.11.5 [ 29019 ] | |
Fix Version/s | 11.1.2 [ 28921 ] | |
Fix Version/s | 11.2.1 [ 29034 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Testing [ 10301 ] | Closed [ 6 ] |
Fix Version/s | 11.0.3 [ 28920 ] |
Zendesk Related Tickets | 157168 |