Skip to content

Commit 4b5a3b2

Browse files
committed
COLDBOX-1293 Resolve
1 parent 8718f9d commit 4b5a3b2

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

system/core/database/SchemaInfo.cfc

+2-18
Original file line numberDiff line numberDiff line change
@@ -194,30 +194,14 @@ component singleton {
194194
* @dsn The datasource name
195195
* @username The username to use
196196
* @password The password to use
197+
* @deprecated There are no longer any instances where this would be different between engines. Deprecate in 7.x and remove in 8x.
197198
*/
198199
public string function getQueryParamDateTimeType(
199200
required string dsn,
200201
username = "",
201202
password = ""
202203
){
203-
var dbInfo = getDatabaseInfo( argumentCollection = arguments );
204-
switch ( dbInfo.database_productName ) {
205-
case "PostgreSQL": {
206-
return "cf_sql_timestamp";
207-
}
208-
case "MySQL": {
209-
return "cf_sql_timestamp";
210-
}
211-
case "Microsoft SQL Server": {
212-
return "cf_sql_datetime";
213-
}
214-
case "Oracle": {
215-
return "cf_sql_timestamp";
216-
}
217-
default: {
218-
return "cf_sql_timestamp";
219-
}
220-
}
204+
return "cf_sql_timestamp";
221205
}
222206

223207
}

0 commit comments

Comments
 (0)