|
|
Sponsor |
Re: [jira] Commented: (DERBY-18) Exposed name matching has bugs when the co: msg#00397apache.db.derby.devel
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Shreyas Kaushik wrote: > Dan, > > I did the patch for this. > > From your comments I looked at the getSchemaDescriptor() in > QueryTreeNode. The schema name was getting > stored there but not stored in the TableName in the corresponding node. > > Since *null* schema implies current schema I just called bind() in > TableName.java whereever the schema was null. I'm not sure this is correct, because if you remember you patch to Derby-13, a TableName with a null schema can represent a correlation name (which don't have schemas). So the fact a TableName's schema name is null does not always mean that its schema name maps to the current schema. Thus only when a TableName represents a implicitly schema qualifed name (table, view, procedure, function, trigger, index, constraint name) should its lack of schema name be converted to the current schema. Possibly the only case that doesn't have an implicit schema name is the correlation name. Thus the patch needs to be careful of this overloaded use of TableName. Does your patch handle this correctly? Without looking at the code in detail I'm not sure how to handle this correctly, if you haven't made any progress I can try give and help out tomorrow. Dan. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFB+c6jIv0S4qsbfuQRAvmcAJ9Nu4H0HzhGxg+S8nOJqBxi1gbbAQCgtWjO dLSVBATTSeJjkHrin45ygk4= =3KaU -----END PGP SIGNATURE-----
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Derby home page now blank??, Jean T. Anderson |
|---|---|
| Next by Date: | Re: Derby home page now blank??, Daniel John Debrunner |
| Previous by Thread: | Re: [jira] Commented: (DERBY-18) Exposed name matching has bugs when the column name is qualified with a schema name., Shreyas Kaushik |
| Next by Thread: | Re: [jira] Commented: (DERBY-18) Exposed name matching has bugs when the column name is qualified with a schema name., Shreyas Kaushik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|