From: Ben C. <bcl...@pe...> - 2005-01-24 15:51:48
|
Interesting. Can you please try this: Edit the file libpp_mysql/db_macro_actions.c From line 95: can you try adjusting this function by adding two lines starting 'setlocale', to look like this: double getVersion() { double version; char *s; setlocale(LC_NUMERIC, "POSIX"); s = getRegistry(REG_VER_HOST, REG_VER_KEY, 0); if (s && s[0]) { version = atof(s); } else { version = DB_VERSION; setVersion(version); } setlocale(LC_NUMERIC, ""); return version; } Then 'make' and re-run your tests. Has this made any difference? Can you also tell me what version of 'gcc' you are running? Thanks, Ben. Guillaume Delecourt wrote: > check_perfparse_version > ERROR Database schema version is not correct. Current version 0,00 Required > version 0.19 | pp_ver=0,00 true_ver=0.19 > > but : > mysql> SELECT rvalue,ctime from perfdata_registry WHERE host = 'dummy' AND > rkey = 'pp/database/version' > -> ; > +--------+---------------------+ > | rvalue | ctime | > +--------+---------------------+ > | 0.19 | 2005-01-24 16:34:09 | > +--------+---------------------+ > 1 row in set (0.00 sec) > > > > > On Monday 24 January 2005 16:07, Ben Clewett wrote: > >>Guillaume >> >>This is very odd. I've never seen this before, but I think I know where >>the problem might be. >> >>Can you try running the program check_perfparse_version. Does this >>return the same? >> >>More later, >> >>Ben >> >>Guillaume Delecourt wrote: >> >>>Hello, >>>I have this error with perfparse-0.104.9 (with any method) : >>> >>>2005/01/24 12:54:58 [ storage.c:95 592 ] Initialisation du module >>>storage_mysql effectuée avec succès >>>2005/01/24 12:54:58 [storage_mysql.c:143 592 ] Database schema >>>version is not correct. >>>Current version 0.18. Required version 0.18 >>>Consider upgrading with perfparse-db-tool --update >>> >>>i try perfparse-db-tool --update but nothing changes... >>> >>>Thanks for any help, >>>Guillaume. >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >>>Tool for open source databases. Create drag-&-drop reports. Save time >>>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >>>Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>>_______________________________________________ >>>Perfparse-users mailing list >>>Per...@li... >>>https://lists.sourceforge.net/lists/listinfo/perfparse-users > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > -- Ben Clewett bcl...@pe... PerfParse http://www.perfparse.org PP FAQ http://wiki.perfparse.org/tiki-list_faqs.php |