add comments about ae not supporting parameters in select list
This commit is contained in:
parent
294537ecb3
commit
99f27700b1
|
@ -81,6 +81,7 @@ try {
|
||||||
dropTable($conn, $tableName);
|
dropTable($conn, $tableName);
|
||||||
unset($conn);
|
unset($conn);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
|
// binding parameters in the select list is not supported with Column Encryption
|
||||||
$expMsg = "Implicit conversion from data type sql_variant to nvarchar(max) is not allowed. Use the CONVERT function to run this query.";
|
$expMsg = "Implicit conversion from data type sql_variant to nvarchar(max) is not allowed. Use the CONVERT function to run this query.";
|
||||||
$aeExpMsg = "Invalid Descriptor Index";
|
$aeExpMsg = "Invalid Descriptor Index";
|
||||||
checkError($e, $expMsg, $aeExpMsg);
|
checkError($e, $expMsg, $aeExpMsg);
|
||||||
|
|
|
@ -48,6 +48,7 @@ if (!isAEConnected()) {
|
||||||
$s = $db->prepare("SELECT :prefix + TITLE FROM cd_info GROUP BY :prefix + TITLE", $option);
|
$s = $db->prepare("SELECT :prefix + TITLE FROM cd_info GROUP BY :prefix + TITLE", $option);
|
||||||
$s->bindValue(':prefix', "");
|
$s->bindValue(':prefix', "");
|
||||||
} else {
|
} else {
|
||||||
|
// binding parameters in the select list is not supported with Column Encryption
|
||||||
$s = $db->prepare("SELECT TITLE FROM cd_info GROUP BY TITLE", $option);
|
$s = $db->prepare("SELECT TITLE FROM cd_info GROUP BY TITLE", $option);
|
||||||
}
|
}
|
||||||
$s->execute();
|
$s->execute();
|
||||||
|
|
|
@ -82,6 +82,7 @@ try {
|
||||||
dropTable($conn, $tbname);
|
dropTable($conn, $tbname);
|
||||||
unset($conn);
|
unset($conn);
|
||||||
} catch (PDOexception $e) {
|
} catch (PDOexception $e) {
|
||||||
|
// binding parameters in the select list is not supported with Column Encryption
|
||||||
$expMsg = "Statement with emulate prepare on does not support output or input_output parameters.";
|
$expMsg = "Statement with emulate prepare on does not support output or input_output parameters.";
|
||||||
$aeExpMsg = "Invalid Descriptor Index";
|
$aeExpMsg = "Invalid Descriptor Index";
|
||||||
checkError($e, $expMsg, $aeExpMsg);
|
checkError($e, $expMsg, $aeExpMsg);
|
||||||
|
|
Loading…
Reference in a new issue