[Bug]: Leading spaces in name are collapsed in db structure

Author: yfdyh000Created Feb 27, 2025Updated Sep 2, 2026
Labelsbug

What did you do?

CREATE TABLE IF NOT EXISTS "                    sqlite_my_test3" (
	"Field1"	INTEGER
);
CREATE TABLE IF NOT EXISTS "   sqlite_my_test2" (
	"Field1"	INTEGER
);
CREATE TABLE IF NOT EXISTS " sqlite_my_test1" (
	"Field1"	INTEGER
);

Also, " Field1" INTEGER.

What did you expect to see?

Show the names and schema correctly.

What did you see instead?

Image

DB4S Version

3.13.1

What OS are you seeing the problem on?

Windows

OS version

No response

Relevant log output

bash

Prevention against duplicate issues

  • I have searched for similar issues

Source: sqlitebrowser/sqlitebrowser