Обсуждение: support for DESC/NULLS FIRST/NULLS LAST

Поиск
Список
Период
Сортировка

support for DESC/NULLS FIRST/NULLS LAST

От
Quan Zongliang
Дата:
Hi, all

TODO Item:
- Add support for DESC/NULLS FIRST/NULLS LAST when creating indexes.
had been completed and tested the debug configuration's build.
It works finely.

But, I built it at release configuration. Something is wrong.
The modified dialog was not displayed, whereas old style. And easy to got
a invalid memory access.
I think the modified xrc file not be included to release build, but the
code is done.

The .xrc .h and .cpp files had been modified, what missed?
I am newbie in wxWidgets and C++.
Any suggestion.
Thanks.

-----------------------------------------------
Quan Zongliang
quanzongliang@gmail.com
CIT Japan:  http://www.cit.co.jp


Re: support for DESC/NULLS FIRST/NULLS LAST

От
"Dave Page"
Дата:
On Fri, Nov 14, 2008 at 10:58 AM, Quan Zongliang
<quanzongliang@gmail.com> wrote:
> Hi, all
>
> TODO Item:
> - Add support for DESC/NULLS FIRST/NULLS LAST when creating indexes.
> had been completed and tested the debug configuration's build.
> It works finely.
>
> But, I built it at release configuration. Something is wrong.
> The modified dialog was not displayed, whereas old style. And easy to got
> a invalid memory access.
> I think the modified xrc file not be included to release build, but the
> code is done.
>
> The .xrc .h and .cpp files had been modified, what missed?
> I am newbie in wxWidgets and C++.

You need to run the embed-xrc script in the pgadmin/ui directory. It
will regenerate xrcdialogs.cpp from the XRC files. This is not used in
debug builds - instead the XRC files are loaded whenever a dialog is
opened. This makes it much easier to test changes.

--
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com

Re: support for DESC/NULLS FIRST/NULLS LAST

От
Quan Zongliang
Дата:
> You need to run the embed-xrc script in the pgadmin/ui directory. It
> will regenerate xrcdialogs.cpp from the XRC files. This is not used in
> debug builds - instead the XRC files are loaded whenever a dialog is
> opened. This makes it much easier to test changes.

I see. thanks Dave.


-----------------------------------------------
Quan Zongliang
quanzongliang@gmail.com
CIT Japan:  http://www.cit.co.jp