当我试图在mysql上运行更新请求以更新一篇文章时,mysql显示了一个错误,表明请求超过了最大长度,错误是“这个查询禁用了linting,因为它超过了最大长度”。
发布于 2018-05-21 22:17:26
phpMyAdmin的源代码揭示了消息文本的来源...
https://github.com/phpmyadmin/phpmyadmin/blob/master/libraries/classes/Linter.php
/**
* Runs the linting process.
*
* @param string $query The query to be checked.
*
* @return array
*/
public static function lint($query)
{
// Disabling lint for huge queries to save some resources.
if (/*overload*/mb_strlen($query) > 10000) {
return array(
array(
'message' => __(
'Linting is disabled for this query because it exceeds the '
. 'maximum length.'
),
'fromLine' => 0,
'fromColumn' => 0,
'toLine' => 0,
'toColumn' => 0,
'severity' => 'warning',
)
);
}https://stackoverflow.com/questions/50450696
复制相似问题