Yo,
I'm busy fixing bug #641765
And i've come across a strange bit in sql.php3 @ line 88
$parsed_sql = PMA_SQP_parse((get_magic_quotes_gpc() ?
stripslashes($sql_query) : $sql_query)); //86
$analyzed_sql = PMA_SQP_analyze($parsed_sql); //87
$sql_query = PMA_SQP_formatHtml($parsed_sql, 'query_only'); //88
These lines are from:
"Committed Marc's patches to the SQL parser and pretty printer from bugs
#605030 and #631421"
I'm trying to look for the reasoning behind line 88.
It is, for all-practical purposes, useless, since it just puts the same
query back into the $sql_query variable. It is also part of the problem
with #641765, since the SQL parser was giving an empty $parsed_sql
return value in specific cases.
I'm commenting it out for now, since that seems to have no ill side
effects. Any objections can get it put back in.
--
Robin Hugh Johnson
E-Mail : robbat2(a)orbis-terrarum.net
Home Page : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ# : 30269588 or 41961639
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
Hi All,
I created yesterday a database by phpmyadmin and it was working fine. I
was able to access it from a php script, adding records, checking
values...etc
The problem starts when i tried to use session variables, i didn't
succeed, plus i'm not able to connect to my database anymore although
i'm able to connect to the server !!
I can't access the database neither from the php script nor from
phpmyadmin !!
the error from the php script is : Access denied for user 'user_name' to
database 'database_name'
So please if anyone can help me, i really don't know what to do !!
Thanks,
Rami
--
-------------------------------------------------------------------------
"This message and any attachment are confidential and may be privileged
or otherwise protected from disclosure. If you are not the intended
recipient, please telephone or email the sender and delete this message
and any attachment from your system. If you are not the intended
recipient you must not copy this message or attachment or disclose the
contents to any other person."
-------------------------------------------------------------------------
On Wednesday 08 January 2003 16:33, Marc Delisle wrote:
> Michal,
> after I drop a table, I get an Undefined index 'table' in common.lib.php3,
> line 1147.
>
> The line is
> $url_qpart = '?' . PMA_generate_common_url($GLOBALS['db'],
> $GLOBALS['table']);
>
> Can you have a look at this?
Sure, fixed... Sorry but I probably didn't correctly found all places where
table could be sometimes defined and sometimes undefined :-(.
--
Regards
Michal Cihar
nijel at users dot sourceforge dot net
http://cihar.liten.cz
Hi,
Please comment on this wish list for the new User management page:
- rename it "Users" instead of "Privileges"
- (later) split list of users in "User overview" on multiple pages,
based on $cfg['MaxRows'], with navigation << < > >>
- (already asked to Alexander) in the "remove selected users" dialog,
add an option to delete the db which has the same name as the user
- A new batch user and db creation mecanism. Starting
from a local file like this:
user1, password1
user2, password2
user3, password3
...
we could upload this file. There would be a radio button:
() just create users
() create users and generate a db named after the user
() create users and generate a privilege that enables users to create their dbs,
with the username as a prefix
On the "Add a new user" new page, there are some dialogs that could be used
also for the batch:
- the host
- the global privileges
But I am not sure if the batch mecanism should be on the same page.
Of course, we need some validation to avoid creating databases that already exist.
Marc Delisle
Hi
I just commited new code to generate URLs and hidden inputs. It adds new
functions PMA_generate_common_url and PMA_generate_common_hidden_inputs
that should be used anywhere where needed to add common parameter that are
needed all over pma (lang, server, optionally convcharset) and optionally
also db and table name (optional parameters to these functions). Please
use them in new code to avoid problems that were on few places in current
code that convcharset was missing in URL. These functions also don't add
convcharset when it is not used, so URL became a bit shorter for most
users ;-).
Regards
Michal Cihar
http://cihar.liten.cz
Panstwa poczta nie zostala dostarczona, gdyz zawierala wirusa lub
plik wykonywalny - Jesli chcesz wyslac taki plik spakuj go odpowiednim
programem (np. zip, gzip, rar, arj).
Wiadomosc, ktora wlasnie czytasz zostala wygenerowana automatycznie i nie
nalezy na nia odpowiadac.
Hi all,
I'll go snowboarding in Austria from December 26th until January 4th.
(Yes, dear translators, you can take a deep breath now ;-) )
If I find some time, I'll continue my current work there.
Merry Christmas
Joyeux Noël
Frohe Weihnachten
Alexander M. Turek
-- Antivirus de Terra ha detectado un grave virus en "este mensaje". Con la finalidad de evitar su contagio, hemos procedido a borrar el virus --
MREGKBCM.scr is removed from here because it contains a virus.
Si tiene alguna consulta o comentario escr?banos a antivirus(a)terra.com.pe - Terra Networks Peru S.A. -