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 to my manager and they said you can talk directly to your IT executive which I had already done. The IT executive said to me that"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 to the IT executive and they don'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?
update2:
I have talked to the IT executive that my co-worker is lying about me and I have done my all task on time I have shown all my weekly timeline sheets to them. They said if you are right then we will investigate this situation and if he was lying to me then we will take strict action against him."
should I put some bugs and errors in the co-worker's code when I help him
" ???? Seriously???!!!! Any sympathy which I had for you has just flown out the window. Way to screw up your life