如果sql文件过大,会出现mysql out of memory
(NeededXXXbytes),或者"MySQL server has gone away"问题;
另外如果sql文件数据有中文,会出现乱码。解决的问题,修改max_allowed_packet参数,在my.ini或者my.cnf文...
分类:
数据库 时间:
2014-05-15 20:54:05
阅读次数:
395
Flex4中支持的格式化功能有很多,其都是mx.formatters.Formatter的子类。常见的主要有CurrencyFormatter/DataFormatter/NumberFormatter等。子类必须重写format()方法来实现自定义格式化方案。
验证功能的提供类都是mx.validators.Validator的子类。其中如果将Validator中required属性为TRUE...
分类:
其他好文 时间:
2014-05-15 11:25:43
阅读次数:
229
VS2012 error : Required file tracker.exe is missing 解决办...
分类:
其他好文 时间:
2014-05-15 05:44:18
阅读次数:
348
Mysql远程连接Mysql服务器的数据库,错误代码是1130,ERROR 1130:
Host xxx.xxx.xxx.xxx is not allowed to connect to this MySQL
server猜想是无法给远程连接的用户权限问题。这样子操作mysql库,即可解决。在本机登...
分类:
数据库 时间:
2014-05-14 22:28:19
阅读次数:
427
Gao The SequenceTime Limit:2 Seconds Memory
Limit:65536 KBYou are given a sequence of integers,A1,A2,...,An. And you are
allowed a manipulation on the...
分类:
其他好文 时间:
2014-05-13 19:49:14
阅读次数:
277
You are given a sequence of integers, A1,A2,...,An. And you are allowed a manipulation on the sequence to transform the origin sequence into another sequence B1,B2,...,Bn(Maybe the two sequences are s...
分类:
其他好文 时间:
2014-05-13 13:45:10
阅读次数:
327
error: ‘for’ loop initial declarations are only
allowed in C99
mode:编译参数加个-c99试试,你会发现可以了貌似c语言出来的时候还没有c99标准在for内部定义循环变量是c99的内容把int 定义挪出来就ok了
分类:
其他好文 时间:
2014-05-12 00:50:26
阅读次数:
212
先下载最新的newlisp代码,解压后进入目录创建文件CMakeLists.txt, 内容如下:cmake_minimum_required (VERSION 2.6)
include_directories(${CMAKE_SOURCE_DIR})
project(newlisp)
set(NEWLISP_SRC newlisp newlisp.c nl-symbol.c nl-math...
分类:
其他好文 时间:
2014-05-10 03:38:36
阅读次数:
374
实例带有必填字段的表单: Name: 定义和用法required
属性规定必需在提交之前填写输入字段。如果使用该属性,则字段是必填(或必选)的。注释:required 属性适用于以下 类型:text, search, url,
telephone, email, password, date...
分类:
Web程序 时间:
2014-05-09 15:49:30
阅读次数:
340
最近把移动硬盘上的一个Android项目复制到笔记本上面,import后项目文件夹始终有一个红色叹号,console里面提示“archive
for required
library...”,原来是libs\android-support-v4.jar文件被损坏了,重新下载并覆盖这个文件,恢复正常了...
分类:
其他好文 时间:
2014-05-09 08:39:03
阅读次数:
272