在MySQL主从复制机器的master的数据库中创建function,报出如下错误:
Error Code: 1418. This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled
(you *might* want to...
分类:
数据库 时间:
2014-09-19 17:38:05
阅读次数:
210
很多程序库对外提供若干类,每个方法出错时如何告知调用者是否出错,以及出错码(在Linux上在error.h中的全局errno就是保存我们Linux程序执行的出错码的)?方法很多,为了简化起见,函数将返回一个对象,该对象保存了函数的返回值和出错码。
/*
* CLStatus.h
*
* Author: lilin
* email: lilin@uestc.edu....
分类:
系统相关 时间:
2014-09-19 15:38:05
阅读次数:
228
返回队头元素若队列不空,则用e返回Q的队头元素,并返回OK,否则返回ERROR。大发888娱乐城/* 若队列不空,则用e返回Q的队头元素,并返回OK,否则返回ERROR */Status GetHead(LinkQueue Q, QElemType *e){ QueuePtr p; if(Q.fro...
分类:
其他好文 时间:
2014-09-19 15:33:45
阅读次数:
282
1. 串赋值StrAssign/* 生成一个其值等于chars的串T */雅加达娱乐城Status StrAssign(String T,char *chars){ int i; if(strlen(chars)>MAXSIZE) return ERROR; else { T[0]=strlen.....
分类:
其他好文 时间:
2014-09-19 15:17:55
阅读次数:
226
AIX weblogic 启动报There is not enough buffer space for the requested socket operation 错误 ???? <Sep 19, 2014 10:27:09 AM GMT+08:00> <Error> <Coherence> <BEA-000000> <Oracle Coherence 3.6.0.4 ...
分类:
Web程序 时间:
2014-09-19 12:19:05
阅读次数:
305
error: unterminated #ifndef
分类: C语言学习
error: unterminated #ifndef
1,权限问题
2,少了#endif...
分类:
其他好文 时间:
2014-09-19 12:02:55
阅读次数:
108
今天在看OGG的日志时,发现如下OGG-01224 Bad file number错误,查阅资料才知道端口不可用,看了一下mgr的参数,发现是设置的DYNAMICPORTLIST 动态端口,为什么还不可用。看看MOS上面咋说的:
OGG GoldenGate Extract | Pump
Abends with: "TCP/IP Error 9 (Bad Fil...
分类:
其他好文 时间:
2014-09-19 12:02:30
阅读次数:
211
1.slave中继日志损坏当slave意外宕机时,有可能损坏中继日志relay-log,再次开启同步复制时,就会报错:Last_SQL_Error:Relaylogreadfailure:Couldnotparserelaylogevententry.Thepossiblereasonsare:themaster‘sbinarylogiscorrupted(youcancheckthisbyrunning‘mysqlbinlog‘on..
分类:
其他好文 时间:
2014-09-19 10:19:06
阅读次数:
239
之前根据教程安装好zabbix,MySQL的版本是5.1。昨天无聊想升级成5.6。不过升级比较麻烦。我就直接把5.1删了再装5.6。安装中途zabbix挂了一次。把5.6装上启动后就好了。早上zabbix启动不能。出现错误error while loading shared libraries: l...
分类:
其他好文 时间:
2014-09-19 10:06:15
阅读次数:
237