码迷,mamicode.com
首页 >  
搜索关键字:show error    ( 48646个结果
mysql 配置优化
mysql 优化mysql> SHOW VARIABLES LIKE '%innodb_flush_log_at_trx_commit%';+--------------------------------+-------+| Variable_name | Val...
分类:数据库   时间:2014-06-28 10:40:55    阅读次数:292
看到关于socket非阻塞模式设置方式记录一下。
关于socket的阻塞与非阻塞模式以及它们之间的优缺点,这已经没什么可言的;我打个很简单的比方,如果你调用socket send函数时;如果是阻塞模式下:send先比较待发送数据的长度len和套接字s的发送缓冲的长度,如果len大于s的发送缓冲区的长度,该函数返回SOCKET_ERROR;如果len...
分类:其他好文   时间:2014-06-28 10:23:25    阅读次数:211
Google glog error LNK2001: unresolved external symbol "__declspec(dllimport) int fLI::FLAGS_XXXX 错误的解决。
想在 windows 下使用 glog,使用类似FLAGS_max_log_size 来设置参数,结果编译报错。解决办法是在 项目属性 -> C/C++ -> Preprocessor -> Preprocessor Definitions 加入GOOGLE_GLOG_DLL_DECL=。
分类:其他好文   时间:2014-06-26 00:32:21    阅读次数:814
weblogic配置数据源出错
Connection test failed. Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in conn...
分类:Web程序   时间:2014-06-25 23:48:58    阅读次数:387
ASP.NET中最保险最环保的返回404的方法
1. 只返回404 Status Code,自定义404页面在IIS的Error Pages中配置。2. 设置Response.SuppressContent为true,以防有响应内容被发给客户端。3. 以前喜欢用霸道的Response.End()强制中止当前线程,而用Context.Applica...
分类:Web程序   时间:2014-06-25 23:28:59    阅读次数:215
原来是 临时的那张图片没有删除,code 516
NSFileManager *manager = [[NSFileManager alloc]init]; if ([manager isDeletableFileAtPath:filePath]) { [manager removeItemAtPath:filePath error:nil...
分类:其他好文   时间:2014-06-25 22:56:17    阅读次数:205
phpcms 如何获取文章
请求地址http://127.0.0.1/phpcms/index.php?m=content&c=index&a=show&catid=6&id=8先来判断地址对应的数据表查阅phpcms v9 数据表结构手册http://v9.help.phpcms.cn/html/2010/database_...
分类:Web程序   时间:2014-06-25 22:43:35    阅读次数:457
java JNI 调试出现的错误
java JNI 调试出现的错误ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2JDWP exit error AGENT_ERROR_NO_JNI_ENV(183): [../../../s....
分类:编程语言   时间:2014-06-25 21:02:35    阅读次数:395
Color names defined in Gnuplot
By executing show colornames, all the 112 predefined colors will be displayed:gnuplot> show colornamesThere are 112 predefined color names:white #ffff...
分类:其他好文   时间:2014-06-24 14:18:02    阅读次数:181
leetcode - Reverse Integer
题目:Reverse IntegerReverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321click to show spoilers.Have you thought about...
分类:其他好文   时间:2014-06-24 14:12:18    阅读次数:184
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!