文档解释
Error number: 3049; Symbol: ER_STD_OVERFLOW_ERROR; SQLSTATE: HY000
Message: Overflow error: %s in function %s.
左右

错误说明
ER_STD_OVERFLOW_ERROR,是MySQL的错误码,是一种编译器抛出的错误,当有不被支持的、形似float的类型指令发出时,就会发出ER_STD_OVERFLOW_ERROR的错误。其错误显示为:ERROR 3049 (HY000): Stddev argument is out of range,错误码为3049和SQLSTATE为HY000。
常见案例
ER_STD_OVERFLOW_ERROR常常出现在当MySQL数据库使用Standard Deviation计算时,结果可能超出MySQL库容量,以致于产生这个异常,此时,MySQL会发出ER_STD_OVERFLOW_ERROR。另外,此错误也可能出现在当执行多行MySQL语句而出现的,也会导致ER_STD_OVERFLOW_ERROR的发生。
解决方法
第二,检查MySQL语句中是否出现了多行输入,同样是造成ER_STD_OVERFLOW_ERROR产生,如果发现出现了多行输入,可以把它们分开执行,然后再进行一步测试,看是否产生了ER_STD_OVERFLOW_ERROR。
第三,检查数据库的内存使用情况,如果发现数据库的内存使用过高,也可能造成ER_STD_OVERFLOW_ERROR产生,如果发现是这种情况,建议去优化一下数据库,让它能更快地处理请求。
总之,ER_STD_OVERFLOW_ERROR是MySQL发出的一种编译器抛出的错误,一般是由于使用Standard Deviation或多行输入操作或者数据库的内存使用太高造成的,应该根据具体情况采取不同的解决方案,以解决ER_STD_OVERFLOW_ERROR报错。
香港美国云 服务器 首选树叶云,2H2G首月10元开通。树叶云(www.IDC.Net)提供简单好用,价格厚道的香港/美国云服务器和独立服务器。IDC+ISP+ICP资质。ARIN和APNIC会员。成熟技术团队15年行业经验。
求解一个C++错误
这是因为你的某些操作让系统自动生成了 Cin_Password::OnChangeCin(void)等4个函数的声明和定义,而你又把他文件中的定义部分手动删去了,所以系统就找不到这个函数入口了;修改方法是那你把相应的头文件(.h)中的对应函数声明删掉
请教一个链接一个需要MFC支持的LIB库出现的问题
链接器工具错误:在对象中已定义符号以修饰形式显示的给定 symbol 被多次定义。 可能的原因 :1 不慎同时与单线程库和多线程库链接。 确保应用程序项目文件只包括适当的库,并且任何第三方库已适当创建了单线程或多线程版本。 2 在也使用 /clr 时混合静态库和动态库。 3 该符号为封装函数(通过用 /Gy 编译创建),包含在多个文件中,但在各编译间已改变。 重新编译所有包含 symbol 的文件。 4 以不同的形式在不同库中的两个成员对象中定义了该符号,并且使用了这两个成员对象。 5 某个绝对符号被定义两次,而每次定义的值不同。 6 头文件声明并定义了变量。 7 当将 与定义 GUID 的其他 文件(例如 和 )一起使用时。 我下载了一个库,并按照提示(可能不完全照做了,因为看不太明白):运行这个批处理文件,生成了和.h。 在VC的菜单:Project->Settings->Link->General中,在Debug配置信息中加,在Release配置信息中加在VC的菜单:Project->Settings->C/C++->Preprocessor->Additional include directories中,在所有配置信息(Debug和Release),加ltilib\lib\headerFiles在VC的菜单:Project->Settings->C/C++->C++ Language:Enable RTTI,在选项前面打勾。 然后编译.便出现问题了.我觉得问题可能出在下列这段话.我不明白啊.请两位高手详细解释一下,行吗?by default The lib is built with the option /MD resp. /MDd, i.e. the multi-threaded-dll run-time libraries are used. This means that MFC must be linked dynamically. However, if you need to use MFC in a static lib (not recommended), then you must set the variable v_buildDLLversion=0 in the Perl script before hand.
关于c++提示的错误语句
多总结,多学习TurboC编译错误信息说明大全#operator not followed by maco argument name#运算符后没跟宏变元名Ambiguous operators need parentheses不明确的运算需要用括号括起Ambiguous symbol xxx不明确的符号Argument # missing name参数#名丢失Argument list syntax error参数表语法错误Array bounds missing丢失数组界限符Array size too large数组尺寸太大Assembler statement too long汇编语句太长Bad call of in-line function内部函数非法调用Bad character in paramenters参数中有不适当的字符Bad configuration file配置文件不正确Bad file name format in include directive包含命令中文件名格式不正确Bad ifdef directive synatax编译预处理ifdef有语法错Bad ifndef directive syntax编译预处理ifndef指令语法错误Bad undef directive syntax编译预处理undef有语法错Bit field too large位字段太长Call of non-function调用未定义的函数Call to function with no prototype调用函数时没有函数的说明Cannot modify a const object不允许修改常量对象Case outside of switchCase 出现在switch外Case statement missingCase语句漏掉Case syntax errorCase 语法错误Character constant too long字符常量太长Code has no effect代码不可述不可能执行到Compound statement missing{分程序漏掉{Conflicting type modifiers不明确的类型说明符Constant expression required要求常量表达式Constant out of range in comparison在比较中常量超出范围Conversion may lose significant digits转换时会丢失意义的数字Conversion of near Pointer not allowed不允许转换近指针Could not find file xxx找不到XXX文件Declaration missing ;说明缺少;Declaration needs type or storage class说明必须给出类型或存储类Declaration syntax error说明中出现语法错误Default outside of switchDefault 出现在switch语句之外Define directive needs an identifier编译预处理指令Define需要标识符Division by zero用零作除数Do statement must have whileDo-while语句中缺少while部分DO while statement missing (Do while语句中漏掉了符号 (Do while statement missing;Do while语句中掉了分号Duplicate CaseCase情况不唯一Enum syntax error枚举类型语法错误Enumeration constant syntax error枚举常数语法错误Error directive :xxx错误的编译预处理命令Error writing output file写输出文件错误Expression syntax error表达式语法错误Extra parameter in call调用时出现多余参数Extra parameter in call to xxxxxx调用xxxxxxxx函数时出现了多余参数File name too long文件名太长For statement missing )For语名缺少)For statement missing(For语句缺少(For statement missing;For 语句缺少;Function call missing )函数调用缺少右括号Fuction definition out of place函数定义位置错误Fuction should return a value函数必需返回一个值Goto statement missing labelGoto语句没有标号Hexadecimal or octal constant too large16进制或8进制常数太大If statement missing(If语句缺少(If statement missing)If语句缺少)Illegal character x非法字符xIllegal initialization非法的初始化Illegal octal digit非法的8进制数字Illegal pointer subtraction非法的指针相减Illegal structure operation非法的结构体操作Illegal use of floating point非法的浮点运算Illegal use of pointer指针使用非法Improper use of a typedef symbol类型定义符号使用不恰当In-line assembly not allowed不允许使用行间汇编Incompatible storage class存储类别不相容Incompatible type conversion不相容的类型转换Incorrect commadn line argument:xxxxxx不正确的命令行参数:xxxxxxxIncorrect commadn file argument:xxxxxx不正确的配置文件参数:xxxxxxxIncorrect number format错误的数据格式Incorrect use of defaultDefault使用不当Initializer syntax error初始化语法错误Invalid indirection无效的间接运算Invalid macro argument separator无效的宏参数分隔符Invalid pointer addition指针相加无效Irreducible expression tree无法执行的表达式运算Invalid use of dot点使用错Lvalue required is assigned a value需要逻辑值0或非0值Macro argument syntax error宏参数语法错误Macro expansion too long宏的扩展太长Mismatched number of parameters in definition定义中参数个数不匹配MiSPLaced break此处不应出现break语句Misplaced continue此处不应出现continue语句Misplaced decimal point此处不应出现小数点xxxMisplaced else此处不应出现elseMisplaced else directive此处不应出现编译预处理elseMisplaced endif directive此处不应出现编译预处理endifMust be addressable必须是可以编址的Must take address of memory location必须存储定位的地址No declaration for function xxx没有函数xxx的说明No file name ending无文件终止符No file names given未给出文件名No stack缺少堆栈No type information没有类型信息Non-portable pointer assignment对不可移动的指针(地址常数)赋值Non-portable pointer comparison不可移动的指针(地址常数)比较Non-portable pointer conversion不可移动的指针(地址常数)转换Non-protable return type conversion不可移植的返回类型转换Not a valid expression format type不合法的表达式格式Not an allowed type不允许使用的类型Numeric constant too large数值常太大Out of memory内存不够用Parameter xxx is never used参数xxx没有用到Pointer required on left side of ->符号->的左边必须是指针Possible use of xxx before definition在定义之前就使用了xxx(警告)Possibly incorrect assignment赋值可能不正确Redeclaration of xxx重复定义了xxxRedefinition of xxx is not identicalxxx的两次定义不一致Register allocation failure寄存器定址失败Repeat count needs an lvalue重复计数需要逻辑值Size of structure or array not known结构体或数组大小不确定Statement missing ;语句后缺少;Structure or union syntax error结构体或联合体语法错误Structure size too large结构体尺寸太大Subscripting missing ]下标缺少右方括号Superfluous & with function or array函数或数组中有多余的&Suspicious pointer conversion可疑的指针转换Switch statement missing (switch 语句缺少(Switch statement missing )switch 语句缺少)Symbol limit exceeded符号超限Too few parameters in call函数调用参数太少Too few parameter in call toxxxxxx调用xxxxxx时参数太少Too many casesCases太多Too many decimal points十进制小数点太多Too many default casesDefault太多(switch语句中一个)Too many exponents阶码太多Too many initializers初始化太多Too many error or warning messages错误或警告信息太多Too many storage classes in declaration说明中存储类太多Too many type in declaration说明中类型太多Too much auto memory in function函数用到的自动存储太多Too much global data defined in file文件中全局数据太多Two consecutive dots两个连续的点Type mismatch in parameter #参数#类型不匹配Type mismatch in parameter # in call to XXXXXXX调用XXXXXXX时参数#类型不匹配Type mismatch in parameter xxx参数xxx类型不匹配Type mismatch in parameter YYYYYYYY in call to YYYYYYYY调用YYYYYYY时参数XXXXXXXX数型不匹配Type mismatch in redeclaration of xxxxxx重定义的类型不匹配Unable to create output file xxx无法建立输出文件xxxUnable to create 不能创建 to execute command xxxxxxxx不能执行xxxxxxxx命令Unable to open include file xxx无法打开被包含的文件xxxUnable to open input file xxx无法打开输入文件xxxUndefined label xxx没有定义的标号xxxUndefined structure xxx没有定义的结构xxxUndefined symbol xxx没有定义的符号xxxUnexpected end of file in comment started on line xxx源文件在从xxx行开始的注释中意外结束Unexpected end of file in conditional started on line xxx源文件在#行开始的条件语句中意外结束Unknown assemble instruction未知的汇编结构Unknown option未知的操作Unknown preprocessor directive: xxx不认识的预处理命令xxxUnreachable code无路可达的代码Untermimated character constant未终结的字符常量Unterminated string未终结的串Unterminated string or character constant字符串或字符常量缺少引号User break用户强行中断了程序Value required赋值请求Void functions may not return a valueVoid类型的函数不应有返回值While statement missing (While语句漏掉 (While statement missing )While语句漏掉 )Wrong number of arguments in of xxxxxxxx调用xxxxxxxx时参数个数错误xxx not an argumentxxx不是参数xxx not part of structurexxx不是结构体的一部分xxx statement missing (xxx语句缺少左括号xxx statement missing )xxx语句缺少右括号xxx statement missing ;xxx缺少分号xxx declared but never used说明了xxx但没有使用xxx is assigned a value which is never used给xxx赋了值但未用过Zero length structure结构体的长度为零
发表评论