The JSON export now generates valid JSON data, but this means that the
resulting JSON format has changed.
Fixes#12307
Signed-off-by: Michal Čihař <michal@cihar.com>
It should be big enough on 64-bit systems, so avoid rounding issues
which double calculations can bring.
Fixes#12303
Signed-off-by: Michal Čihař <michal@cihar.com>
We now store verbatim variable name in HTML to avoid need to do some
magical transformations when parsing it.
Fixes#12317
Signed-off-by: Michal Čihař <michal@cihar.com>
Surprisingly PHP stack frames are passed as references to the error
handling code, thus changing value there leads to changing value in the
executed code.
With MySQL issuing warning about incompatible version (different runtime
library than compile time), handling this warning rewrites current stack
frame and the mysql_real_connect later sees parameters as processed by
Error class for display.
We now create copy of the stacktrace to avoid this.
Fixes#12279
Signed-off-by: Michal Čihař <michal@cihar.com>
It seems that for some PHP versions this flag is needed even though it's
not documented like this. Anyway this flag doesn't cause any harm, so
lets keep it enabled.
Issue #12293
Signed-off-by: Michal Čihař <michal@cihar.com>
The mysqli_real_connect seems to return NULL on invalid parameters, so
we need to handle it as well. This doesn't seem to be documented
anywhere.
Issue #12279
Signed-off-by: Michal Čihař <michal@cihar.com>
It is wrong for this purpose as on Windows this uses \ for both
separating parts and generating result. This fixed calculation of cookie
path on Windows.
Fixes#12249
Signed-off-by: Michal Čihař <michal@cihar.com>
same name. Added new functionality to PMA_ajaxShowMessage() allowing for
different notification types.
Signed-off-by: Gregory-Buhler <webmaster@gregorybuhler.com>
The errors will include table and database name in the dump and the
error is also shown in the UI on next page.
Fixes#5555
Signed-off-by: Michal Čihař <michal@cihar.com>
If there is user error stored in session, it would be treated as session
startup error, what is wrong.
Fixes#12229
Signed-off-by: Michal Čihař <michal@cihar.com>