1,开发人员截图给我,后台报错如下:Error Query database. Causejava.sql.SQLException: Incorrect key file for table ‘/tmp/#sql_181c_0.MYI’; tryto repair it; 分析,这种,大多数情况是tmp临时表空间不足,所以执行比较复杂的sql或者执行大表关联的时候,需要临时表资源较多,如果临时表...
分类:
数据库 时间:
2015-05-21 19:34:00
阅读次数:
409
strcat:
将两个char类型链接。
返回指向字符串的指针。
然后我们简单实现一下这个函数:
#include
#include
char * my_strcat(char *str1,char const *str2)
{
char* tmp=str1;
assert(str1);
assert(str2);
while(*str1!='...
分类:
编程语言 时间:
2015-05-21 14:19:16
阅读次数:
298
Reverse a singly linked list.思路:没啥好说的。秒...ListNode* reverseList(ListNode* head) { ListNode * rList = NULL, * tmp = NULL; while(head != N...
分类:
其他好文 时间:
2015-05-21 12:19:41
阅读次数:
145
1.在/srv/salt目录下创建top.sls文件cd/srv/salttouchtop.sls2.编辑sls文件vimhosts.sls/tmp/aaa.hosts://name,可以宿便写,但是如果这里不写同步路径信息的话,需要在后面加上-name:/tmp/aaa.hostsfile.managed://指定使用的salt模块的名称-source:salt://etc/hosts//同步的..
分类:
其他好文 时间:
2015-05-21 06:43:50
阅读次数:
718
Description长江游艇俱乐部在长江上设置了n 个游艇出租站1,2,…,n。游客可在这些游艇出租站租用游艇,并在下游的任何一个游艇出租站归还游艇。游艇出租站i 到游艇出租站j 之间的租金为r(i,j),1 2 int f[201][201],n,i,j,k,p,tmp; 3 void solv...
分类:
其他好文 时间:
2015-05-20 23:49:02
阅读次数:
369
OpenWrt 目录下的 trunk 结构如下: [trunk]$?ls
bin/?????????Config.in??feeds.conf.default??rules.mk?????tmp/
BSDmakefile??dl/????????include/????????????scr...
分类:
其他好文 时间:
2015-05-20 20:45:09
阅读次数:
225
Java?HotSpot(TM)?64-Bit?Server?VM?warning:?Insufficient?space?for?shared?memory?file:
???/tmp/hsperfdata_root/85760
Try?using?the?-Djava.io.tmpdir=?option?to?select?an?alterna...
分类:
其他好文 时间:
2015-05-20 16:35:27
阅读次数:
164
pwd【功能说明】:printnameofworkingdirectory#打印当前工作目录【语法格式】:pwd[OPTION]...【选项参数】:参数说明-L,--logical显示用户当前工作目录-P,--physical显示用户当前工作目录的实际路径【实践操作】:1、已知/tmp/bb/aa/目录是/tmp/aa/目录的软连接目录,注意–..
分类:
其他好文 时间:
2015-05-20 02:11:32
阅读次数:
141
题目大意:
解题思路:再调用一下别人的图。。。
#include
#include
using namespace std;
#define mod 1024struct Matrix{
int mat[2][2];
}a, b, tmp;
int n;void init() {
a.mat[0][0] = 5;
a.mat[0][1]...
分类:
其他好文 时间:
2015-05-19 19:09:58
阅读次数:
88
15021010:29:16InnoDB:Warning:tryingtodeletetablespace‘/tmp/#sql2069_87b001_1d.ibd‘,InnoDB:butthereare1flushesand0pendingi/o‘sonitInnoDB:Loop1016.15021010:29:16InnoDB:Warning:tryingtodeletetablespace‘/tmp/#sql2069_87b001_1d.ibd‘,InnoDB:butthereare1flushesand..
分类:
数据库 时间:
2015-05-19 16:47:33
阅读次数:
231