diff options
author | stuconnolly <stuart02@gmail.com> | 2013-05-12 20:57:57 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2013-05-12 20:57:57 +0000 |
commit | cae86c6943496128a61056b88a2c1c9420ce15ee (patch) | |
tree | 0087cf454007899b7981a0d53abb29d19db9b0a6 /Source/SPServerSupport.h | |
parent | 6d5741b74f72dab22eeb39ac4e601961baa005f8 (diff) | |
download | sequelpro-cae86c6943496128a61056b88a2c1c9420ce15ee.tar.gz sequelpro-cae86c6943496128a61056b88a2c1c9420ce15ee.tar.bz2 sequelpro-cae86c6943496128a61056b88a2c1c9420ce15ee.zip |
Issue #1515: Add support for fractional seconds in date/time data types on server versions (>5.6.3) that support them.
Diffstat (limited to 'Source/SPServerSupport.h')
-rw-r--r-- | Source/SPServerSupport.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/SPServerSupport.h b/Source/SPServerSupport.h index 4cb68726..6f6f4038 100644 --- a/Source/SPServerSupport.h +++ b/Source/SPServerSupport.h @@ -88,6 +88,9 @@ // Indexes BOOL supportsIndexKeyBlockSize; + // Data types + BOOL supportsFractionalSeconds; + // Server versions NSInteger serverMajorVersion; NSInteger serverMinorVersion; @@ -239,6 +242,11 @@ */ @property (readonly) BOOL supportsQuotingEngineTypeInCreateSyntax; +/** + * @property supportsFractionalSeconds Indicates whether the server supports fractional seconds in date/time data types. + */ +@property (readonly) BOOL supportsFractionalSeconds; + - (id)initWithMajorVersion:(NSInteger)majorVersion minor:(NSInteger)minorVersion release:(NSInteger)releaseVersion; - (void)evaluate; |