SOURCES: mysql-acc-pslist.patch - updated to 5.1.34
adamg
adamg at pld-linux.org
Sat Apr 25 12:27:01 CEST 2009
Author: adamg Date: Sat Apr 25 10:27:01 2009 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- updated to 5.1.34
---- Files affected:
SOURCES:
mysql-acc-pslist.patch (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SOURCES/mysql-acc-pslist.patch
diff -u SOURCES/mysql-acc-pslist.patch:1.3 SOURCES/mysql-acc-pslist.patch:1.4
--- SOURCES/mysql-acc-pslist.patch:1.3 Sat Mar 7 16:36:01 2009
+++ SOURCES/mysql-acc-pslist.patch Sat Apr 25 12:26:55 2009
@@ -47,8 +47,8 @@
table->field[4]->store(command_name[tmp->command].str,
command_name[tmp->command].length, cs);
/* MYSQL_TIME */
-- table->field[5]->store((uint32)(tmp->start_time ?
-- now - tmp->start_time : 0), TRUE);
+- table->field[5]->store((longlong)(tmp->start_time ?
+- now - tmp->start_time : 0), FALSE);
+ const ulonglong utime= tmp->start_utime ? unow - tmp->start_utime : 0;
+ table->field[5]->store(utime / 1000000, TRUE);
/* STATE */
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/mysql-acc-pslist.patch?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list