vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi Andreas. Strange action? <-----dlgHbaConfig.cpp-------> void dlgHbaConfig::OnOK(wxCommandEvent& ev) { line->isComment = !chkEnabled->GetValue(); line->connectType = (pgHbaConfigLine: line->database = database; line->user = user; line->ipaddress = txtIPaddress->GetValue(); line->method = (pgHbaConfigLine: line->option = txtOption->GetValue(); wxMessageBox(txtIPaddress->GetValue()); //The input of the change (A) -- Debug Message wxMessageBox(line->text); //strange result (B) -- Debug Message EndModal(wxID_OK); } The value of (A) isn't taken over in (B).? Then, a result isn't kept. It is strange. Is this countermeasure possible for you? Or, do I have misunderstanding? regards, Hiroshi Saito ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) |
| |||
| Hi Andreas. Please check it. This seems to succeed. regards, Hiroshi Saito ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html |
| |||
| Hiroshi Saito wrote: > > wxMessageBox(txtIPaddress->GetValue()); //The input of the change (A) -- Debug Message > wxMessageBox(line->text); //strange result (B) -- Debug Message > > EndModal(wxID_OK); > } > > The value of (A) isn't taken over in (B).? This is correct. Actually, pgHbaConfigLine::GetText wasn't fully implemented; done now. Regards, Andreas ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings |
| |||
| Hi Andreas. From: "Andreas Pflug" <pgadmin@pse-consulting.de> > > The value of (A) isn't taken over in (B).? > > This is correct. Actually, pgHbaConfigLine::GetText wasn't fully > implemented; done now. Thank you very much.!:-) However, It can't change into the comment line. Please apply it. One more strange.. OK button of the save is tough, and it doesn't become quiet. This is investigate. regards, Hiroshi Saito ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match |
| ||||
| Hiroshi Saito wrote: > > However, It can't change into the comment line. > Please apply it. > > ------------------------------------------------------------------------ > > --- src/ui/dlgHbaConfig.cpp.orig Thu Dec 16 02:07:11 2004 > +++ src/ui/dlgHbaConfig.cpp Thu Dec 16 02:07:39 2004 > @@ -297,7 +297,7 @@ > > } > btnOK->Enable(cbType->GetSelection() >= 0 && !database.IsEmpty() && !user.IsEmpty() && > - cbMethod->GetSelection() >= 0 && ipValid); > + cbMethod->GetSelection() >= 0); I don't like this fix. The check is ok, but ipValid is wrong; preliminarily fixed. Maybe you find the time to implement the checking code in line 298ff for IPV4 an IPV6 and both flavours of netmasks. Regards, Andreas ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org |
| Thread Tools | |
| Display Modes | |
|
|