摘要: 网上用 compositionstart + compositionend + input 解决中文输入法问题的办法 现在貌似不好使了 测试了下发现: compositionend 在 input 事件之后才触发 so。。。 于是只能在compositionend 里 也加上处理代码 并不是完美方案 阅读全文
posted @ 2016-10-25 19:41 dubox 阅读(8373) 评论(0) 推荐(0) 编辑
摘要: 在update 中的 where 子句中使用子查询: UPDATE mg_page_log as a SET page_num=1 WHERE id in( SELECT id from mg_page_log WHERE id < 100 GROUP BY visit_id) 会报: You ca 阅读全文
posted @ 2016-10-14 17:47 dubox 阅读(11130) 评论(0) 推荐(1) 编辑
摘要: 对已存在的未分区的表进行分区 alter table test PARTITION BY RANGE(id) (PARTITION p1 VALUES LESS THAN (101),PARTITION p2 VALUES LESS THAN (201) ) 提示错误: Table has no p 阅读全文
posted @ 2016-10-11 17:06 dubox 阅读(12163) 评论(0) 推荐(0) 编辑