Revision: glite-voms-admin-server--release--1.0.0--patch-94 Archive: lorentey@elte.hu--2004 Creator: Karoly Lorentey Date: Wed Apr 13 22:08:58 CEST 2005 Standard-date: 2005-04-13 20:08:58 GMT Modified-files: scripts/voms-admin-configure New-patches: lorentey@elte.hu--2004/glite-voms-admin-server--release--1.0.0--patch-94 Summary: Fix long-standing nondeterministic MySQL database creation bug. Fix access problems from Java. Simplify things a little. Keywords: * scripts/voms-admin-configure (send_to_mysql): New function for sending the same SQL command (potentionally) multiple times. Nice for doing GRANTs on user@localhost, user@127.0.0.1, user@localhost.localdomain and user@`hostname` with a single line of code. (install_db): Use send_to_mysql. Prevent errors during database creation by setting autoflush on the pipe to mysql. D'oh!