mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 11:17:57 +08:00
Remove "Created" date/time from SQL export header. Fixes issue #3083.
This commit is contained in:
@ -1209,11 +1209,10 @@ begin
|
|||||||
end;
|
end;
|
||||||
if not FHeaderCreated then begin
|
if not FHeaderCreated then begin
|
||||||
Header := '-- --------------------------------------------------------' + CRLF +
|
Header := '-- --------------------------------------------------------' + CRLF +
|
||||||
Format('-- %-30s:%s', [_('Host'), DBObj.Connection.Parameters.HostName]) + CRLF +
|
Format('-- %-30s%s', [_('Host')+':', DBObj.Connection.Parameters.HostName]) + CRLF +
|
||||||
Format('-- %-30s:%s', [_('Server version'), DBObj.Connection.ServerVersionUntouched]) + CRLF +
|
Format('-- %-30s%s', [_('Server version')+':', DBObj.Connection.ServerVersionUntouched]) + CRLF +
|
||||||
Format('-- %-30s:%s', [_('Server OS'), DBObj.Connection.ServerOS]) + CRLF +
|
Format('-- %-30s%s', [_('Server OS')+':', DBObj.Connection.ServerOS]) + CRLF +
|
||||||
Format('-- %-30s:%s', [APPNAME + ' ' + _('Version'), Mainform.AppVersion]) + CRLF +
|
Format('-- %-30s%s', [APPNAME + ' ' + _('Version')+':', Mainform.AppVersion]) + CRLF +
|
||||||
Format('-- %-30s:%s', [_('Created'), DateTimeToStr(Now)]) + CRLF +
|
|
||||||
'-- --------------------------------------------------------' + CRLF + CRLF +
|
'-- --------------------------------------------------------' + CRLF + CRLF +
|
||||||
'/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;' + CRLF +
|
'/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;' + CRLF +
|
||||||
'/*!40101 SET NAMES '+DBObj.Connection.CharacterSet+' */;' + CRLF +
|
'/*!40101 SET NAMES '+DBObj.Connection.CharacterSet+' */;' + CRLF +
|
||||||
|
Reference in New Issue
Block a user