projects
/
mir.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e70f14a
)
to_media -> media_id back again...
author
rk
<rk>
Tue, 5 Feb 2002 21:57:33 +0000
(21:57 +0000)
committer
rk
<rk>
Tue, 5 Feb 2002 21:57:33 +0000
(21:57 +0000)
source/mircoders/storage/DatabaseContentToMedia.java
patch
|
blob
|
history
diff --git
a/source/mircoders/storage/DatabaseContentToMedia.java
b/source/mircoders/storage/DatabaseContentToMedia.java
index
2f85cd2
..
dce35fd
100755
(executable)
--- a/
source/mircoders/storage/DatabaseContentToMedia.java
+++ b/
source/mircoders/storage/DatabaseContentToMedia.java
@@
-51,7
+51,7
@@
public class DatabaseContentToMedia extends Database implements StorageObject{
// get all to_topic from media_x_topic
String id = content.getId();
//this is not supported by mysql
- String subselect = "id in (select
to_media
from " + theTable + " where content_id=" + id+")";
+ String subselect = "id in (select
media_id
from " + theTable + " where content_id=" + id+")";
try {
returnList = DatabaseMedia.getInstance().selectByWhereClause(subselect,-1);