phpmyadmin/test/test_data
Eyüp Can Akman ce12a87858
Fix #20284 - Preserve numeric strings in XML imports
When the XML file embeds the table structure, $analyses is null and
buildSql() falls back to is_numeric() to decide whether to quote. That
strips quotes from values like "01234", which silently drops the leading
zero on a varchar column and causes a duplicate-key error if the table
also contains "1234".

Add a roundtrip check: a value is still treated as numeric only when
casting it to int or float gives back the original string. "01234",
"1e10" and similar fail the roundtrip and stay quoted; plain integers
like 1 and 1234 keep their existing unquoted form.

Signed-off-by: Eyüp Can Akman <eyupcanakman@gmail.com>
2026-04-28 17:26:03 +03:00
..
routes Ignore invalid routes cache file 2022-05-13 21:46:17 -03:00
__slashes.mediawiki Fix import of empty tables from MediaWiki 2024-01-25 17:44:47 +01:00
config.inc.php Fix some coding standard issues 2020-05-25 22:42:37 -03:00
db_import.sql
db_test_ldi.csv
db_test.csv
db_test.ods
dresden_osm.shp.zip
exploit_test.sql Use https to access phpmyadmin.net 2016-07-27 16:29:08 +02:00
import-slim.ods.xml Ref #17298, #17344 - Update the test data to include more cases 2022-02-06 13:55:24 +01:00
phpmyadmin_importXML_For_Testing.xml Use https to access phpmyadmin.net 2016-07-27 16:29:08 +02:00
phpmyadmin_importXML_GIS_For_Testing.xml Backport XML tests for no database (#20153) and improve GIS test 2026-03-17 10:53:42 +01:00
phpmyadmin_importXML_No_Database_For_Testing.xml Backport XML tests for no database (#20153) and improve GIS test 2026-03-17 10:53:42 +01:00
phpmyadmin_importXML_Numeric_String_For_Testing.xml Fix #20284 - Preserve numeric strings in XML imports 2026-04-28 17:26:03 +03:00
phpmyadmin.mediawiki
pma_bookmark.sql Use https to access phpmyadmin.net 2016-07-27 16:29:08 +02:00
server_import.sql
table_import.sql
test.bz2
test.file
test.gz
test.zip
timezone.shp.zip