I have been in this company as a trainee software developer for a month now. I am on probation period for training. The coworker joined the company on the same date and he is from the same university but from a different department(Computer Department) and I am from Electronics and Communication. We are working as a software developer on C#. The thing is I finished my assigned task at a given time with very good effort and the other co-worker takes more to finish his and still has lots of bugs in his code even if he has easier tasks. Sometimes I have to help him out to make the application up and running.
Our manager has good relation with me. He told me a few days ago that our IT executive only wants one developer and they are planning to choose another co-worker even if he doesn't know much about coding and development. I still am fresher so when my probation period gets finished I will be getting kicked out. Every IT senior developers in the company now know about this thing. They even told me that "you are good at what you are doing keep it up."
What should I do? Should I talk about this situation to the IT executive? Should I start looking for another job and leave? I like this company so much because everyone pays respect and it has a very good working environment.
I am from India.
update:
I asked for a solution to this situation of my manager and they said you can talk directly to your IT executive which I'd already done. They said "the other Co-worker interacted with me earlier and he said many things about you. Like you don't work hard, you don't know much of coding, etc." I know these accusations are false. The other co-worker is saying false things about me the IT executive doesn't know it.
What should I do? Should I tell the truth to the IT executive, or should I put some bugs and errors in the co-worker's code when I help him or should I just go to his desk and confront him?