mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Fix redundant "USE xyz" queries firing before each query while working in a database with weird characters in its name.
This commit is contained in:
@ -112,7 +112,7 @@ type
|
|||||||
FProtocol: string;
|
FProtocol: string;
|
||||||
FHostName: string;
|
FHostName: string;
|
||||||
FPort: Integer;
|
FPort: Integer;
|
||||||
FDatabase: string;
|
FDatabase: WideString;
|
||||||
FUser: string;
|
FUser: string;
|
||||||
FPassword: string;
|
FPassword: string;
|
||||||
FCatalog: string;
|
FCatalog: string;
|
||||||
@ -218,7 +218,7 @@ type
|
|||||||
property Protocol: string read FProtocol write FProtocol;
|
property Protocol: string read FProtocol write FProtocol;
|
||||||
property HostName: string read FHostName write FHostName;
|
property HostName: string read FHostName write FHostName;
|
||||||
property Port: Integer read FPort write FPort default 0;
|
property Port: Integer read FPort write FPort default 0;
|
||||||
property Database: string read FDatabase write FDatabase;
|
property Database: WideString read FDatabase write FDatabase;
|
||||||
property User: string read FUser write FUser;
|
property User: string read FUser write FUser;
|
||||||
property Password: string read FPassword write FPassword;
|
property Password: string read FPassword write FPassword;
|
||||||
property Catalog: string read FCatalog write FCatalog;
|
property Catalog: string read FCatalog write FCatalog;
|
||||||
|
@ -21,8 +21,8 @@ type
|
|||||||
|
|
||||||
// Mysql protocol-relevant connection parameter structure
|
// Mysql protocol-relevant connection parameter structure
|
||||||
TMysqlConnParams = record
|
TMysqlConnParams = record
|
||||||
Host,
|
Host: String;
|
||||||
Database,
|
Database: WideString;
|
||||||
Protocol,
|
Protocol,
|
||||||
User,
|
User,
|
||||||
Pass : String;
|
Pass : String;
|
||||||
|
Reference in New Issue
Block a user